ramips: Update GB-PC1 device tree source file 11/head
authorL. D. Pinney <ldpinney@gmail.com>
Mon, 7 Aug 2017 03:34:10 +0000 (11:34 +0800)
committerL. D. Pinney <ldpinney@gmail.com>
Mon, 7 Aug 2017 03:34:10 +0000 (11:34 +0800)
Signed-off-by: L. D. Pinney <ldpinney@gmail.com>
target/linux/ramips/dts/GB-PC1.dts

index cdc3cd369d74b4fd1fc43fe1ad757035d07b747b..df7caa9100293afc9c19d5c2a1570edf5495e858 100644 (file)
                        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 {
                partition@30000 {
                        label = "u-boot-env";
                        reg = <0x30000 0x10000>;
+                       read-only;
                };
 
                factory: partition@40000 {
        };
 };
 
-&cpuclock {
-               compatible = "fixed-clock";
-               clock-frequency = <2000000000>;
-};
-
-&sysclock {
-               compatible = "fixed-clock";
-               clock-frequency = <80000000>;
-};
-
 &pcie {
        status = "okay";
 };