打开lcd背光灯
This commit is contained in:
parent
bed563eb01
commit
a95c134a16
|
@ -585,14 +585,14 @@
|
|||
status = "okay";
|
||||
compatible = "sitronix,st7789v";
|
||||
reg = <0>;
|
||||
spi-max-frequency = <12000000>;
|
||||
spi-max-frequency = <32000000>;
|
||||
bgr;
|
||||
fps = <30>;
|
||||
rotate = <90>;
|
||||
buswidth = <8>;
|
||||
dc-gpios = <&gpio1 RK_PA7 GPIO_ACTIVE_HIGH>;
|
||||
reset-gpios = <&gpio1 RK_PA3 GPIO_ACTIVE_LOW>;
|
||||
//led-gpios = <&gpio1 RK_PC1 GPIO_ACTIVE_HIGH>;
|
||||
led-gpios = <&gpio1 RK_PC4 GPIO_ACTIVE_LOW>;
|
||||
debug = <0>; //等级0~7 越高信息越多
|
||||
};
|
||||
};
|
||||
|
@ -614,6 +614,7 @@
|
|||
|
||||
&pcie0 {
|
||||
ep-gpios = <&gpio4 RK_PD1 GPIO_ACTIVE_HIGH>;
|
||||
max-link-speed = <2>;
|
||||
num-lanes = <4>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pcie_clkreqn_cpm>;
|
||||
|
|
Loading…
Reference in New Issue