NBG-419N.dts 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. /dts-v1/;
  2. /include/ "rt3050.dtsi"
  3. / {
  4. compatible = "NBG-419N", "ralink,rt3052-soc";
  5. model = "ZyXEL NBG-419N";
  6. palmbus@10000000 {
  7. sysc@0 {
  8. ralink,pinmux = "i2c", "spi", "uartlite", "jtag", "mdio", "sdram", "rgmii";
  9. ralink,uartmux = "gpio";
  10. ralink,wdtmux = <1>;
  11. };
  12. gpio0: gpio@600 {
  13. status = "okay";
  14. };
  15. };
  16. cfi@1f000000 {
  17. compatible = "cfi-flash";
  18. reg = <0x1f000000 0x800000>;
  19. bank-width = <2>;
  20. device-width = <2>;
  21. #address-cells = <1>;
  22. #size-cells = <1>;
  23. partition@0 {
  24. label = "u-boot";
  25. reg = <0x0 0x30000>;
  26. read-only;
  27. };
  28. partition@30000 {
  29. label = "u-boot-env";
  30. reg = <0x30000 0x10000>;
  31. read-only;
  32. };
  33. factory: partition@40000 {
  34. label = "factory";
  35. reg = <0x40000 0x10000>;
  36. read-only;
  37. };
  38. partition@50000 {
  39. label = "firmware";
  40. reg = <0x50000 0x3b0000>;
  41. };
  42. };
  43. ethernet@10100000 {
  44. status = "okay";
  45. };
  46. esw@10110000 {
  47. status = "okay";
  48. ralink,portmap = <0x2f>;
  49. };
  50. gpio-leds {
  51. compatible = "gpio-leds";
  52. power {
  53. label = "nbg-419n:green:power";
  54. gpios = <&gpio0 9 1>;
  55. };
  56. wps {
  57. label = "nbg-419n:green:wps";
  58. gpios = <&gpio0 14 1>;
  59. };
  60. };
  61. gpio-keys-polled {
  62. compatible = "gpio-keys-polled";
  63. #address-cells = <1>;
  64. #size-cells = <0>;
  65. poll-interval = <20>;
  66. reset {
  67. label = "reset";
  68. gpios = <&gpio0 10 1>;
  69. linux,code = <0x198>;
  70. };
  71. wps {
  72. label = "wps";
  73. gpios = <&gpio0 0 1>;
  74. linux,code = <0x211>;
  75. };
  76. };
  77. wmac@10180000 {
  78. status = "okay";
  79. };
  80. };