[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1388507534-10570-7-git-send-email-jjhiblot@traphandler.com>
Date: Tue, 31 Dec 2013 17:32:14 +0100
From: jjhiblot@...phandler.com
To: nicolas.ferre@...el.com
Cc: linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
jean-jacques hiblot <jean-jacques.hiblot@...u.com>,
Jean-Jacques Hiblot <jjhiblot@...phandler.com>
Subject: [PATCH 6/6] at91: dt: sam9261: Added DM9000 in the device tree
From: jean-jacques hiblot <jean-jacques.hiblot@...u.com>
Signed-off-by: Jean-Jacques Hiblot <jjhiblot@...phandler.com>
---
arch/arm/boot/dts/at91sam9261ek.dts | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
diff --git a/arch/arm/boot/dts/at91sam9261ek.dts b/arch/arm/boot/dts/at91sam9261ek.dts
index 11cf619..7a7997f 100644
--- a/arch/arm/boot/dts/at91sam9261ek.dts
+++ b/arch/arm/boot/dts/at91sam9261ek.dts
@@ -76,6 +76,35 @@
smc: smc@...fec00 {
status = "okay";
+ ethernet@...00000 {
+ compatible = "davicom,dm9000";
+ reg = <0x30000000 0x2 0x30000004 0x2>;
+ interrupt-parent = <&pioC>;
+ interrupts = <11 IRQ_TYPE_EDGE_BOTH>;
+ local-mac-address = [00 00 de ad be ef];
+ davicom,no-eeprom;
+
+ smc,cs = <2>;
+ smc,ncs_read_setup = <0>;
+ smc,nrd_setup = <2>;
+ smc,ncs_write_setup = <0>;
+ smc,nwe_setup = <2>;
+ smc,ncs_read_pulse = <8>;
+ smc,nrd_pulse = <4>;
+ smc,ncs_write_pulse = <8>;
+ smc,nwe_pulse = <4>;
+ smc,read_cycle = <16>;
+ smc,write_cycle = <16>;
+ smc,tdf_cycles = <1>;
+ smc,tdf_optimized = <0>;
+ smc,page_size = <0>;
+ smc,byte_access_type = <1>;
+ smc,bus_width = <1>;
+ smc,nwait_mode = <0>;
+ smc,read_mode = <1>;
+ smc,write_mode = <1>;
+ };
+
nand0: nand@...00000 {
nand-bus-width = <8>;
nand-ecc-mode = "soft";
--
1.8.4.2
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists