From: L. D. Pinney Date: Mon, 7 Aug 2017 03:34:10 +0000 (+0800) Subject: ramips: Update GB-PC1 device tree source file X-Git-Tag: v1.4.1-final~11^2 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=066e339cad7b3b82922e038393e1da5f865083b1;p=librecmc%2Flibrecmc.git ramips: Update GB-PC1 device tree source file Signed-off-by: L. D. Pinney --- diff --git a/target/linux/ramips/dts/GB-PC1.dts b/target/linux/ramips/dts/GB-PC1.dts index cdc3cd369d..df7caa9100 100644 --- a/target/linux/ramips/dts/GB-PC1.dts +++ b/target/linux/ramips/dts/GB-PC1.dts @@ -50,45 +50,16 @@ gpios = <&gpio0 8 GPIO_ACTIVE_LOW>; }; - lan { - label = "gb-pc1:green:lan"; + lan1 { + label = "gb-pc1:green:lan1"; gpios = <&gpio0 24 GPIO_ACTIVE_LOW>; }; - wan { - label = "gb-pc1:green:wan"; + lan2 { + label = "gb-pc1:green:lan2"; gpios = <&gpio0 25 GPIO_ACTIVE_LOW>; }; }; - - gpio-export { - compatible = "gpio-export"; - #size-cells = <0>; - - gpio26 { - gpio-export,name = "gpio26"; - gpio-export,direction_may_change = <1>; - gpios = <&gpio0 26 GPIO_ACTIVE_HIGH>; - }; - - gpio28 { - gpio-export,name = "gpio28"; - gpio-export,direction_may_change = <1>; - gpios = <&gpio0 28 GPIO_ACTIVE_HIGH>; - }; - - gpio29 { - gpio-export,name = "gpio29"; - gpio-export,direction_may_change = <1>; - gpios = <&gpio0 29 GPIO_ACTIVE_HIGH>; - }; - - gpio30 { - gpio-export,name = "gpio30"; - gpio-export,direction_may_change = <1>; - gpios = <&gpio0 30 GPIO_ACTIVE_HIGH>; - }; - }; }; &sdhci { @@ -115,6 +86,7 @@ partition@30000 { label = "u-boot-env"; reg = <0x30000 0x10000>; + read-only; }; factory: partition@40000 { @@ -130,16 +102,6 @@ }; }; -&cpuclock { - compatible = "fixed-clock"; - clock-frequency = <2000000000>; -}; - -&sysclock { - compatible = "fixed-clock"; - clock-frequency = <80000000>; -}; - &pcie { status = "okay"; };