VG3503J.dtsi 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164
  1. /include/ "vr9.dtsi"
  2. / {
  3. model = "VG3503J - BT OpenReach VDSL Modem";
  4. chosen {
  5. bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
  6. };
  7. memory@0 {
  8. reg = <0x0 0x2000000>;
  9. };
  10. fpi@10000000 {
  11. localbus@0 {
  12. ranges = <0 0 0x0 0x3ffffff>;
  13. nor-boot@0 {
  14. compatible = "lantiq,nor";
  15. bank-width = <2>;
  16. reg = <0 0x0 0x2000000>;
  17. #address-cells = <1>;
  18. #size-cells = <1>;
  19. partition@0 {
  20. label = "uboot";
  21. reg = <0x00000 0x20000>;
  22. };
  23. partition@20000 {
  24. label = "kernel";
  25. reg = <0x20000 0x300000>;
  26. };
  27. partition@1a0000 {
  28. label = "rootfs";
  29. reg = <0x320000 0x420000>;
  30. };
  31. partition@740000 {
  32. label = "btagent";
  33. reg = <0x740000 0x80000>;
  34. };
  35. partition@7c0000 {
  36. label = "pri_bfocus_cfg";
  37. reg = <0x7c0000 0x10000>;
  38. };
  39. partition@7d0000 {
  40. label = "sec_bfocus_cfg";
  41. reg = <0x7d0000 0x10000>;
  42. };
  43. partition@7e0000 {
  44. label = "sysconfig";
  45. reg = <0x7e0000 0x10000>;
  46. };
  47. partition@7f0000 {
  48. label = "misc_cfg";
  49. reg = <0x7f0000 0x10000>;
  50. };
  51. };
  52. };
  53. gpio: pinmux@E100B10 {
  54. pinctrl-names = "default";
  55. pinctrl-0 = <&state_default>;
  56. state_default: pinmux {
  57. mdio {
  58. lantiq,groups = "mdio";
  59. lantiq,function = "mdio";
  60. };
  61. gphy-leds {
  62. lantiq,groups = "gphy0 led0", "gphy0 led1",
  63. "gphy0 led2", "gphy1 led0",
  64. "gphy1 led1", "gphy1 led2";
  65. lantiq,function = "gphy";
  66. lantiq,pull = <2>;
  67. lantiq,open-drain = <0>;
  68. lantiq,output = <1>;
  69. };
  70. };
  71. };
  72. eth@E108000 {
  73. #address-cells = <1>;
  74. #size-cells = <0>;
  75. compatible = "lantiq,xrx200-net";
  76. reg = < 0xE108000 0x3000 /* switch */
  77. 0xE10B100 0x70 /* mdio */
  78. 0xE10B1D8 0x30 /* mii */
  79. 0xE10B308 0x30 /* pmac */
  80. >;
  81. interrupt-parent = <&icu0>;
  82. interrupts = <73 72>;
  83. interface@0 {
  84. compatible = "lantiq,xrx200-pdi";
  85. #address-cells = <1>;
  86. #size-cells = <0>;
  87. reg = <0>;
  88. mac-address = [ 00 11 22 33 44 55 ];
  89. lantiq,switch;
  90. ethernet@2 {
  91. compatible = "lantiq,xrx200-pdi-port";
  92. reg = <2>;
  93. phy-mode = "mii";
  94. phy-handle = <&phy11>;
  95. };
  96. ethernet@4 {
  97. compatible = "lantiq,xrx200-pdi-port";
  98. reg = <4>;
  99. phy-mode = "mii";
  100. phy-handle = <&phy13>;
  101. };
  102. };
  103. mdio@0 {
  104. #address-cells = <1>;
  105. #size-cells = <0>;
  106. compatible = "lantiq,xrx200-mdio";
  107. phy11: ethernet-phy@11 {
  108. reg = <0x11>;
  109. compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
  110. };
  111. phy13: ethernet-phy@13 {
  112. reg = <0x13>;
  113. compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
  114. };
  115. };
  116. };
  117. };
  118. gpio-keys-polled {
  119. compatible = "gpio-keys-polled";
  120. #address-cells = <1>;
  121. #size-cells = <0>;
  122. poll-interval = <100>;
  123. reset {
  124. label = "reset";
  125. gpios = <&gpio 6 1>;
  126. linux,code = <0x198>;
  127. };
  128. };
  129. gpio-leds {
  130. compatible = "gpio-leds";
  131. power2 {
  132. label = "power2";
  133. gpios = <&gpio 14 1>;
  134. };
  135. dsl {
  136. label = "bt:green:dsl";
  137. gpios = <&gpio 19 1>;
  138. };
  139. power {
  140. label = "power";
  141. gpios = <&gpio 28 1>;
  142. };
  143. };
  144. };