Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1380577

[PATCH v2 3/4] ARM: davinci: disable mdio and eth0 in da850.dtsi

From David Lechner <david@lechnology.com>
Newsgroups linux.kernel
Subject [PATCH v2 3/4] ARM: davinci: disable mdio and eth0 in da850.dtsi
Date 2016-04-16 19:10 +0200
Message-ID <roBTk-72V-23@gated-at.bofh.it> (permalink)
References <roBTj-72V-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


All other devices are disabled by default and not all boards will use
these devices, so these should be disabled too..

da850-evm.dtb already had status = "okay" for these devices.
da850-enbw-cmc.dts did not, so they were added.

Signed-off-by: David Lechner <david@lechnology.com>
Tested-by: Kevin Hilman <khilman@baylibre.com>
---

no change

 arch/arm/boot/dts/da850-enbw-cmc.dts | 6 ++++++
 arch/arm/boot/dts/da850.dtsi         | 2 ++
 2 files changed, 8 insertions(+)

diff --git a/arch/arm/boot/dts/da850-enbw-cmc.dts b/arch/arm/boot/dts/da850-enbw-cmc.dts
index 101d1a1..14dff3e 100644
--- a/arch/arm/boot/dts/da850-enbw-cmc.dts
+++ b/arch/arm/boot/dts/da850-enbw-cmc.dts
@@ -26,6 +26,12 @@
 		serial2: serial@10d000 {
 			status = "okay";
 		};
+		mdio: mdio@224000 {
+			status = "okay";
+		};
+		eth0: ethernet@220000 {
+			status = "okay";
+		};
 	};
 };
 
diff --git a/arch/arm/boot/dts/da850.dtsi b/arch/arm/boot/dts/da850.dtsi
index 8880d57..26fc0812 100644
--- a/arch/arm/boot/dts/da850.dtsi
+++ b/arch/arm/boot/dts/da850.dtsi
@@ -330,6 +330,7 @@
 			#address-cells = <1>;
 			#size-cells = <0>;
 			reg = <0x224000 0x1000>;
+			status = "disabled";
 		};
 		eth0: ethernet@220000 {
 			compatible = "ti,davinci-dm6467-emac";
@@ -344,6 +345,7 @@
 					35
 					36
 					>;
+			status = "disabled";
 		};
 		gpio: gpio@226000 {
 			compatible = "ti,dm6441-gpio";
-- 
1.9.1

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v2 0/4] More small davinci device tree fixes David Lechner <david@lechnology.com> - 2016-04-16 19:10 +0200
  [PATCH v2 4/4] ARM: davinci: da850: There are 101 interrupts. David Lechner <david@lechnology.com> - 2016-04-16 19:10 +0200
  [PATCH v2 3/4] ARM: davinci: disable mdio and eth0 in da850.dtsi David Lechner <david@lechnology.com> - 2016-04-16 19:10 +0200
    Re: [PATCH v2 3/4] ARM: davinci: disable mdio and eth0 in da850.dtsi Sekhar Nori <nsekhar@ti.com> - 2016-04-25 15:40 +0200
      Re: [PATCH v2 3/4] ARM: davinci: disable mdio and eth0 in da850.dtsi David Lechner <david@lechnology.com> - 2016-04-25 18:30 +0200

csiph-web