diff options
author | Antony Pavlov <antonynpavlov@gmail.com> | 2015-05-12 00:00:52 +0300 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2015-05-12 08:22:19 +0200 |
commit | 343bdbf2ad8d754e8c21b4bda2810888cd626ba5 (patch) | |
tree | 2d165967096495c74abc5a1c2a427a0c7b40e614 /arch | |
parent | 92f9b36fc0701d2c95d1f5182feeb927a3a25bfa (diff) | |
download | barebox-343bdbf2ad8d754e8c21b4bda2810888cd626ba5.tar.gz barebox-343bdbf2ad8d754e8c21b4bda2810888cd626ba5.tar.xz |
MIPS: img-ci20: enable dm9000 ethernet controller
Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/mips/dts/img-ci20.dts | 15 | ||||
-rw-r--r-- | arch/mips/mach-xburst/Kconfig | 1 |
2 files changed, 16 insertions, 0 deletions
diff --git a/arch/mips/dts/img-ci20.dts b/arch/mips/dts/img-ci20.dts index f2022dd273..da2a5bf625 100644 --- a/arch/mips/dts/img-ci20.dts +++ b/arch/mips/dts/img-ci20.dts @@ -28,6 +28,21 @@ device_type = "memory"; reg = <0x0 0x10000000>; }; + + board { + #address-cells = <1>; + #size-cells = <1>; + compatible = "simple-bus"; + ranges = <>; + + dm9000@16000000 { + compatible = "davicom,dm9000"; + davicom,no-eeprom; + + reg = <0x16000000 1 /* addr */ + 0x16000002 1>; /* data */ + }; + }; }; &uart0 { diff --git a/arch/mips/mach-xburst/Kconfig b/arch/mips/mach-xburst/Kconfig index 2598c41cdf..fd106fefe0 100644 --- a/arch/mips/mach-xburst/Kconfig +++ b/arch/mips/mach-xburst/Kconfig @@ -27,6 +27,7 @@ config BOARD_RZX50 config BOARD_CI20 bool "Imagination Creator CI20" select CPU_JZ4780 + select HAS_DM9000 endchoice |