diff options
author | Johan Hovold <jhovold@gmail.com> | 2014-05-08 04:57:36 -0400 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2014-05-14 17:45:15 -0400 |
commit | 16c75a13e3f46c41a9f3dc75420c0adc9d7a0918 (patch) | |
tree | 5944e657ecfc75a0c1330a337c907b0449674648 | |
parent | 741cac5f00beb8dce247db9d9bf7b97df32ddd00 (diff) |
ARM: dts: AM33XX: fix ethernet and mdio default state
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>
-rw-r--r-- | arch/arm/boot/dts/am335x-bone-common.dtsi | 3 | ||||
-rw-r--r-- | arch/arm/boot/dts/am335x-evm.dts | 2 | ||||
-rw-r--r-- | arch/arm/boot/dts/am335x-evmsk.dts | 2 | ||||
-rw-r--r-- | arch/arm/boot/dts/am335x-igep0033.dtsi | 8 | ||||
-rw-r--r-- | arch/arm/boot/dts/am335x-nano.dts | 5 | ||||
-rw-r--r-- | arch/arm/boot/dts/am33xx.dtsi | 2 |
6 files changed, 21 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/am335x-bone-common.dtsi b/arch/arm/boot/dts/am335x-bone-common.dtsi index ded128340913..bde1777b62be 100644 --- a/arch/arm/boot/dts/am335x-bone-common.dtsi +++ b/arch/arm/boot/dts/am335x-bone-common.dtsi | |||
@@ -280,13 +280,14 @@ | |||
280 | pinctrl-names = "default", "sleep"; | 280 | pinctrl-names = "default", "sleep"; |
281 | pinctrl-0 = <&cpsw_default>; | 281 | pinctrl-0 = <&cpsw_default>; |
282 | pinctrl-1 = <&cpsw_sleep>; | 282 | pinctrl-1 = <&cpsw_sleep>; |
283 | 283 | status = "okay"; | |
284 | }; | 284 | }; |
285 | 285 | ||
286 | &davinci_mdio { | 286 | &davinci_mdio { |
287 | pinctrl-names = "default", "sleep"; | 287 | pinctrl-names = "default", "sleep"; |
288 | pinctrl-0 = <&davinci_mdio_default>; | 288 | pinctrl-0 = <&davinci_mdio_default>; |
289 | pinctrl-1 = <&davinci_mdio_sleep>; | 289 | pinctrl-1 = <&davinci_mdio_sleep>; |
290 | status = "okay"; | ||
290 | }; | 291 | }; |
291 | 292 | ||
292 | &mmc1 { | 293 | &mmc1 { |
diff --git a/arch/arm/boot/dts/am335x-evm.dts b/arch/arm/boot/dts/am335x-evm.dts index 6cb84f1be04a..ecb267767cf5 100644 --- a/arch/arm/boot/dts/am335x-evm.dts +++ b/arch/arm/boot/dts/am335x-evm.dts | |||
@@ -614,12 +614,14 @@ | |||
614 | pinctrl-names = "default", "sleep"; | 614 | pinctrl-names = "default", "sleep"; |
615 | pinctrl-0 = <&cpsw_default>; | 615 | pinctrl-0 = <&cpsw_default>; |
616 | pinctrl-1 = <&cpsw_sleep>; | 616 | pinctrl-1 = <&cpsw_sleep>; |
617 | status = "okay"; | ||
617 | }; | 618 | }; |
618 | 619 | ||
619 | &davinci_mdio { | 620 | &davinci_mdio { |
620 | pinctrl-names = "default", "sleep"; | 621 | pinctrl-names = "default", "sleep"; |
621 | pinctrl-0 = <&davinci_mdio_default>; | 622 | pinctrl-0 = <&davinci_mdio_default>; |
622 | pinctrl-1 = <&davinci_mdio_sleep>; | 623 | pinctrl-1 = <&davinci_mdio_sleep>; |
624 | status = "okay"; | ||
623 | }; | 625 | }; |
624 | 626 | ||
625 | &cpsw_emac0 { | 627 | &cpsw_emac0 { |
diff --git a/arch/arm/boot/dts/am335x-evmsk.dts b/arch/arm/boot/dts/am335x-evmsk.dts index 6f2e529bca25..ab9a34ce524c 100644 --- a/arch/arm/boot/dts/am335x-evmsk.dts +++ b/arch/arm/boot/dts/am335x-evmsk.dts | |||
@@ -495,12 +495,14 @@ | |||
495 | pinctrl-0 = <&cpsw_default>; | 495 | pinctrl-0 = <&cpsw_default>; |
496 | pinctrl-1 = <&cpsw_sleep>; | 496 | pinctrl-1 = <&cpsw_sleep>; |
497 | dual_emac = <1>; | 497 | dual_emac = <1>; |
498 | status = "okay"; | ||
498 | }; | 499 | }; |
499 | 500 | ||
500 | &davinci_mdio { | 501 | &davinci_mdio { |
501 | pinctrl-names = "default", "sleep"; | 502 | pinctrl-names = "default", "sleep"; |
502 | pinctrl-0 = <&davinci_mdio_default>; | 503 | pinctrl-0 = <&davinci_mdio_default>; |
503 | pinctrl-1 = <&davinci_mdio_sleep>; | 504 | pinctrl-1 = <&davinci_mdio_sleep>; |
505 | status = "okay"; | ||
504 | }; | 506 | }; |
505 | 507 | ||
506 | &cpsw_emac0 { | 508 | &cpsw_emac0 { |
diff --git a/arch/arm/boot/dts/am335x-igep0033.dtsi b/arch/arm/boot/dts/am335x-igep0033.dtsi index 9c53b506c327..8a0a72dc7dd7 100644 --- a/arch/arm/boot/dts/am335x-igep0033.dtsi +++ b/arch/arm/boot/dts/am335x-igep0033.dtsi | |||
@@ -95,6 +95,14 @@ | |||
95 | }; | 95 | }; |
96 | }; | 96 | }; |
97 | 97 | ||
98 | &mac { | ||
99 | status = "okay"; | ||
100 | }; | ||
101 | |||
102 | &davinci_mdio { | ||
103 | status = "okay"; | ||
104 | }; | ||
105 | |||
98 | &cpsw_emac0 { | 106 | &cpsw_emac0 { |
99 | phy_id = <&davinci_mdio>, <0>; | 107 | phy_id = <&davinci_mdio>, <0>; |
100 | }; | 108 | }; |
diff --git a/arch/arm/boot/dts/am335x-nano.dts b/arch/arm/boot/dts/am335x-nano.dts index 9907b494b99c..a3466455b171 100644 --- a/arch/arm/boot/dts/am335x-nano.dts +++ b/arch/arm/boot/dts/am335x-nano.dts | |||
@@ -344,6 +344,11 @@ | |||
344 | 344 | ||
345 | &mac { | 345 | &mac { |
346 | dual_emac = <1>; | 346 | dual_emac = <1>; |
347 | status = "okay"; | ||
348 | }; | ||
349 | |||
350 | &davinci_mdio { | ||
351 | status = "okay"; | ||
347 | }; | 352 | }; |
348 | 353 | ||
349 | &cpsw_emac0 { | 354 | &cpsw_emac0 { |
diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch/arm/boot/dts/am33xx.dtsi index cb6811e5ae5a..0fb5df4ad498 100644 --- a/arch/arm/boot/dts/am33xx.dtsi +++ b/arch/arm/boot/dts/am33xx.dtsi | |||
@@ -688,6 +688,7 @@ | |||
688 | */ | 688 | */ |
689 | interrupts = <40 41 42 43>; | 689 | interrupts = <40 41 42 43>; |
690 | ranges; | 690 | ranges; |
691 | status = "disabled"; | ||
691 | 692 | ||
692 | davinci_mdio: mdio@4a101000 { | 693 | davinci_mdio: mdio@4a101000 { |
693 | compatible = "ti,davinci_mdio"; | 694 | compatible = "ti,davinci_mdio"; |
@@ -696,6 +697,7 @@ | |||
696 | ti,hwmods = "davinci_mdio"; | 697 | ti,hwmods = "davinci_mdio"; |
697 | bus_freq = <1000000>; | 698 | bus_freq = <1000000>; |
698 | reg = <0x4a101000 0x100>; | 699 | reg = <0x4a101000 0x100>; |
700 | status = "disabled"; | ||
699 | }; | 701 | }; |
700 | 702 | ||
701 | cpsw_emac0: slave@4a100200 { | 703 | cpsw_emac0: slave@4a100200 { |