dlan-usb-extender.dts 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  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. /dts-v1/;
  9. #include "mcs8140.dtsi"
  10. / {
  11. model = "Devolo dLAN USB Extender";
  12. compatible = "devolo,dlan-usb-extender", "moschip,mcs8140", "moschip,mcs814x";
  13. chosen {
  14. bootargs = "mem=16M console=ttyS0,57600 earlyprintk";
  15. };
  16. ahb {
  17. vci {
  18. eth0: ethernet@40084000 {
  19. phy = <&phy0>;
  20. phy-mode = "mii";
  21. phy0: ethernet-phy@0 {
  22. reg = <8>;
  23. };
  24. };
  25. adc {
  26. sdram: memory@0,0 {
  27. reg = <0 0 0x1000000>;
  28. };
  29. nor: flash@7,0 {
  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 = "linux";
  44. reg = <0x50000 0x4C0000>;
  45. };
  46. };
  47. };
  48. leds {
  49. compatible = "gpio-leds";
  50. usb {
  51. label = "dlan-usb-extender:green:usb";
  52. gpios = <&gpio 19 0>; // gpio 19 active high
  53. };
  54. };
  55. };
  56. };
  57. };