ARM: dts: AM33XX: fix ethernet and mdio default state
authorJohan Hovold <jhovold@gmail.com>
Thu, 8 May 2014 08:57:36 +0000 (10:57 +0200)
committerTony Lindgren <tony@atomide.com>
Wed, 14 May 2014 21:45:15 +0000 (14:45 -0700)
Make sure ethernet and mdio nodes are disabled by default and enable
them explicitly only on boards that actually use them.

Signed-off-by: Johan Hovold <jhovold@gmail.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/am335x-bone-common.dtsi
arch/arm/boot/dts/am335x-evm.dts
arch/arm/boot/dts/am335x-evmsk.dts
arch/arm/boot/dts/am335x-igep0033.dtsi
arch/arm/boot/dts/am335x-nano.dts
arch/arm/boot/dts/am33xx.dtsi

index ded128340913e83944a8243ad753eeb6247b7840..bde1777b62bef8e76899473e8d935d45115e08e3 100644 (file)
        pinctrl-names = "default", "sleep";
        pinctrl-0 = <&cpsw_default>;
        pinctrl-1 = <&cpsw_sleep>;
-
+       status = "okay";
 };
 
 &davinci_mdio {
        pinctrl-names = "default", "sleep";
        pinctrl-0 = <&davinci_mdio_default>;
        pinctrl-1 = <&davinci_mdio_sleep>;
+       status = "okay";
 };
 
 &mmc1 {
index 6cb84f1be04aca9380b5a3087d3aae418f0356dc..ecb267767cf5c2ba9e7ef996f2843bb883bec942 100644 (file)
        pinctrl-names = "default", "sleep";
        pinctrl-0 = <&cpsw_default>;
        pinctrl-1 = <&cpsw_sleep>;
+       status = "okay";
 };
 
 &davinci_mdio {
        pinctrl-names = "default", "sleep";
        pinctrl-0 = <&davinci_mdio_default>;
        pinctrl-1 = <&davinci_mdio_sleep>;
+       status = "okay";
 };
 
 &cpsw_emac0 {
index 6f2e529bca25b7089445d317d43e645de61249ce..ab9a34ce524c8d2ac3e37c8a25785c78e0c73356 100644 (file)
        pinctrl-0 = <&cpsw_default>;
        pinctrl-1 = <&cpsw_sleep>;
        dual_emac = <1>;
+       status = "okay";
 };
 
 &davinci_mdio {
        pinctrl-names = "default", "sleep";
        pinctrl-0 = <&davinci_mdio_default>;
        pinctrl-1 = <&davinci_mdio_sleep>;
+       status = "okay";
 };
 
 &cpsw_emac0 {
index 9c53b506c32799500bcc850b1f985c1b31210f8d..8a0a72dc7dd7243ca3f07b5bf9344760104af57a 100644 (file)
        };
 };
 
+&mac {
+       status = "okay";
+};
+
+&davinci_mdio {
+       status = "okay";
+};
+
 &cpsw_emac0 {
        phy_id = <&davinci_mdio>, <0>;
 };
index 9907b494b99cbf6e1277955c61a54bab726ae470..a3466455b17188eaafec7eab8b613550a264d3da 100644 (file)
 
 &mac {
        dual_emac = <1>;
+       status = "okay";
+};
+
+&davinci_mdio {
+       status = "okay";
 };
 
 &cpsw_emac0 {
index cb6811e5ae5a9a148321d4e667dc34cde9bc9846..0fb5df4ad49872dcefc85be48054421b9778839d 100644 (file)
                         */
                        interrupts = <40 41 42 43>;
                        ranges;
+                       status = "disabled";
 
                        davinci_mdio: mdio@4a101000 {
                                compatible = "ti,davinci_mdio";
                                ti,hwmods = "davinci_mdio";
                                bus_freq = <1000000>;
                                reg = <0x4a101000 0x100>;
+                               status = "disabled";
                        };
 
                        cpsw_emac0: slave@4a100200 {