* [PATCH] ARM: dts: AM33XX: fix ethernet and mdio default state
@ 2014-05-08 8:57 Johan Hovold
2014-05-08 14:38 ` Mugunthan V N
2014-05-14 21:45 ` Tony Lindgren
0 siblings, 2 replies; 3+ messages in thread
From: Johan Hovold @ 2014-05-08 8:57 UTC (permalink / raw)
To: Tony Lindgren
Cc: Benoît Cousson, linux-omap, devicetree, linux-arm-kernel,
linux-kernel, Johan Hovold
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>
---
arch/arm/boot/dts/am335x-bone-common.dtsi | 3 ++-
arch/arm/boot/dts/am335x-evm.dts | 2 ++
arch/arm/boot/dts/am335x-evmsk.dts | 2 ++
arch/arm/boot/dts/am335x-igep0033.dtsi | 8 ++++++++
arch/arm/boot/dts/am335x-nano.dts | 5 +++++
arch/arm/boot/dts/am33xx.dtsi | 2 ++
6 files changed, 21 insertions(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/am335x-bone-common.dtsi b/arch/arm/boot/dts/am335x-bone-common.dtsi
index 2e7d932887b5..26a1fa958f37 100644
--- a/arch/arm/boot/dts/am335x-bone-common.dtsi
+++ b/arch/arm/boot/dts/am335x-bone-common.dtsi
@@ -280,13 +280,14 @@
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 {
diff --git a/arch/arm/boot/dts/am335x-evm.dts b/arch/arm/boot/dts/am335x-evm.dts
index 6028217ace0f..44c63d1c4f12 100644
--- a/arch/arm/boot/dts/am335x-evm.dts
+++ b/arch/arm/boot/dts/am335x-evm.dts
@@ -614,12 +614,14 @@
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 {
diff --git a/arch/arm/boot/dts/am335x-evmsk.dts b/arch/arm/boot/dts/am335x-evmsk.dts
index ab238850a7b2..365383f7f617 100644
--- a/arch/arm/boot/dts/am335x-evmsk.dts
+++ b/arch/arm/boot/dts/am335x-evmsk.dts
@@ -484,12 +484,14 @@
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 {
diff --git a/arch/arm/boot/dts/am335x-igep0033.dtsi b/arch/arm/boot/dts/am335x-igep0033.dtsi
index 9f22c189f636..27445d07f953 100644
--- a/arch/arm/boot/dts/am335x-igep0033.dtsi
+++ b/arch/arm/boot/dts/am335x-igep0033.dtsi
@@ -95,6 +95,14 @@
};
};
+&mac {
+ status = "okay";
+};
+
+&davinci_mdio {
+ status = "okay";
+};
+
&cpsw_emac0 {
phy_id = <&davinci_mdio>, <0>;
};
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 @@
&mac {
dual_emac = <1>;
+ status = "okay";
+};
+
+&davinci_mdio {
+ status = "okay";
};
&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 @@
*/
interrupts = <40 41 42 43>;
ranges;
+ status = "disabled";
davinci_mdio: mdio@4a101000 {
compatible = "ti,davinci_mdio";
@@ -696,6 +697,7 @@
ti,hwmods = "davinci_mdio";
bus_freq = <1000000>;
reg = <0x4a101000 0x100>;
+ status = "disabled";
};
cpsw_emac0: slave@4a100200 {
--
1.8.3.2
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] ARM: dts: AM33XX: fix ethernet and mdio default state
2014-05-08 8:57 [PATCH] ARM: dts: AM33XX: fix ethernet and mdio default state Johan Hovold
@ 2014-05-08 14:38 ` Mugunthan V N
2014-05-14 21:45 ` Tony Lindgren
1 sibling, 0 replies; 3+ messages in thread
From: Mugunthan V N @ 2014-05-08 14:38 UTC (permalink / raw)
To: Johan Hovold, Tony Lindgren
Cc: Benoît Cousson, linux-omap, devicetree, linux-arm-kernel,
linux-kernel
On Thursday 08 May 2014 02:27 PM, Johan Hovold wrote:
> 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>
Acked-by: Mugunthan V N <mugunthanvnm@ti.com>
Regards
Mugunthan V N
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] ARM: dts: AM33XX: fix ethernet and mdio default state
2014-05-08 8:57 [PATCH] ARM: dts: AM33XX: fix ethernet and mdio default state Johan Hovold
2014-05-08 14:38 ` Mugunthan V N
@ 2014-05-14 21:45 ` Tony Lindgren
1 sibling, 0 replies; 3+ messages in thread
From: Tony Lindgren @ 2014-05-14 21:45 UTC (permalink / raw)
To: Johan Hovold
Cc: Benoît Cousson, linux-omap, devicetree, linux-arm-kernel,
linux-kernel
* Johan Hovold <jhovold@gmail.com> [140508 01:59]:
> Make sure ethernet and mdio nodes are disabled by default and enable
> them explicitly only on boards that actually use them.
Thanks applying into omap-for-v3.16/dt.
Tony
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-05-14 21:45 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-05-08 8:57 [PATCH] ARM: dts: AM33XX: fix ethernet and mdio default state Johan Hovold
2014-05-08 14:38 ` Mugunthan V N
2014-05-14 21:45 ` Tony Lindgren
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).