| 1 | /* |
| 2 | * dlan-usb-extender.dts - Device Tree file for Devolo dLAN USB Extender |
| 3 | * |
| 4 | * Copyright (C) 2012, Florian Fainelli <florian@openwrt.org> |
| 5 | * |
| 6 | * Licensed under GPLv2 |
| 7 | */ |
| 8 | |
| 9 | /dts-v1/; |
| 10 | /include/ "mcs8140.dtsi" |
| 11 | |
| 12 | / { |
| 13 | model = "Devolo dLAN USB Extender"; |
| 14 | compatible = "devolo,dlan-usb-extender", "moschip,mcs8140", "moschip,mcs814x"; |
| 15 | |
| 16 | chosen { |
| 17 | bootargs = "mem=16M console=ttyS0,57600 earlyprintk"; |
| 18 | }; |
| 19 | |
| 20 | ahb { |
| 21 | vci { |
| 22 | |
| 23 | adc { |
| 24 | sdram: memory@0,0 { |
| 25 | reg = <0 0 0x1000000>; |
| 26 | }; |
| 27 | |
| 28 | nor: flash@7,0 { |
| 29 | |
| 30 | partition@0 { |
| 31 | label = "ArmBoot"; |
| 32 | reg = <0 0x30000>; |
| 33 | }; |
| 34 | partition@30000 { |
| 35 | label = "Config1"; |
| 36 | reg = <0x30000 0x10000>; |
| 37 | }; |
| 38 | partition@40000 { |
| 39 | label = "Config2"; |
| 40 | reg = <0x40000 0x10000>; |
| 41 | }; |
| 42 | partition@50000 { |
| 43 | label = "kernel"; |
| 44 | reg = <0x50000 0x100000>; |
| 45 | }; |
| 46 | partition@150000 { |
| 47 | label = "rootfs"; |
| 48 | reg = <0x150000 0x3C0000>; |
| 49 | }; |
| 50 | partition@50001 { |
| 51 | label = "linux"; |
| 52 | reg = <0x50000 0x4C0000>; |
| 53 | }; |
| 54 | }; |
| 55 | }; |
| 56 | |
| 57 | leds { |
| 58 | compatible = "gpio-leds"; |
| 59 | |
| 60 | usb { |
| 61 | label = "dlan-usb-extender:green:usb"; |
| 62 | gpios = <&gpio 19 0>; // gpio 19 active high |
| 63 | }; |
| 64 | }; |
| 65 | }; |
| 66 | }; |
| 67 | }; |
| 68 | |
| 69 | |