Permalink
Browse files

Add st7735r node

and disable LEDs for being used as GPIO
  • Loading branch information...
puhitaku committed Dec 4, 2018
1 parent 70255e3 commit 728183bedde420561c8987470e03b1ae915d0d9b
Showing with 13 additions and 10 deletions.
  1. +13 −10 target/linux/ramips/dts/W06.dts
@@ -21,16 +21,6 @@
label = "w06:green:wps";
gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
};

wan {
label = "w06:green:wan";
gpios = <&gpio1 11 GPIO_ACTIVE_LOW>;
};

wireless {
label = "w06:green:wlan";
gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
};
};

gpio-keys-polled {
@@ -70,6 +60,7 @@

&spi0 {
status = "okay";
pinctrl-0 = <&spi_pins>, <&spi_cs1_pins>;

m25p80@0 {
#address-cells = <1>;
@@ -108,6 +99,18 @@
read-only;
};
};

st7735r@1 {
compatible = "sitronix,st7735r";
reg = <1>;
spi-max-frequency = <10000000>;
buswidth = <8>;
debug = <3>;

dc-gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
reset-gpios = <&gpio1 11 GPIO_ACTIVE_LOW>;
txbuflen = <0>;
};
};

&wmac {

0 comments on commit 728183b

Please sign in to comment.