CY-SWR1100.dts 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143
  1. /dts-v1/;
  2. /include/ "rt3883.dtsi"
  3. / {
  4. compatible = "CY-SWR1100", "ralink,rt3883-soc";
  5. model = "Samsung CY-SWR1100";
  6. palmbus@10000000 {
  7. gpio1: gpio@638 {
  8. status = "okay";
  9. };
  10. };
  11. pinctrl {
  12. state_default: pinctrl0 {
  13. gpio {
  14. ralink,group = "i2c", "spi";
  15. ralink,function = "gpio";
  16. };
  17. };
  18. };
  19. ethernet@10100000 {
  20. port@0 {
  21. ralink,fixed-link = <1000 1 1 1>;
  22. phy-mode = "rgmii";
  23. };
  24. };
  25. pci@10140000 {
  26. status = "okay";
  27. pinctrl-names = "default";
  28. pinctrl-0 = <&pci_pins>;
  29. pci_pins: pci {
  30. pci {
  31. ralink,group = "pci";
  32. ralink,function = "pci-fnc";
  33. };
  34. };
  35. host-bridge {
  36. pci-bridge@1 {
  37. status = "okay";
  38. wmac@0,0 {
  39. ralink,5ghz = <0>;
  40. compatible = "ralink,rt2880-pci", "pciclass060400", "pciclass0604";
  41. reg = < 0x10000 0 0 0 0 >;
  42. ralink,eeprom = "rt2x00pci_1_0.eeprom";
  43. };
  44. };
  45. };
  46. };
  47. wmac@10180000 {
  48. status = "okay";
  49. ralink,2ghz = <0>;
  50. ralink,mtd-eeprom = <&factory 0>;
  51. };
  52. ehci@101c0000 {
  53. status = "okay";
  54. };
  55. ohci@101c1000 {
  56. status = "okay";
  57. };
  58. nor-flash@1c000000 {
  59. compatible = "cfi-flash";
  60. reg = <0x1c000000 0x800000>;
  61. bank-width = <2>;
  62. #address-cells = <1>;
  63. #size-cells = <1>;
  64. partition@0 {
  65. label = "uboot";
  66. reg = <0x0 0x30000>;
  67. read-only;
  68. };
  69. partition@30000 {
  70. label = "uboot-env";
  71. reg = <0x30000 0x4000>;
  72. read-only;
  73. };
  74. factory: partition@34000 {
  75. label = "factory";
  76. reg = <0x34000 0x4000>;
  77. read-only;
  78. };
  79. partition@38000 {
  80. label = "nvram";
  81. reg = <0x38000 0x8000>;
  82. read-only;
  83. };
  84. partition@40000 {
  85. label = "devdata";
  86. reg = <0x40000 0x10000>;
  87. };
  88. partition@50000 {
  89. label = "firmware";
  90. reg = <0x50000 0x7b0000>;
  91. };
  92. };
  93. rtl8367 {
  94. compatible = "realtek,rtl8367";
  95. gpio-sda = <&gpio0 1 0>;
  96. gpio-sck = <&gpio0 2 0>;
  97. realtek,extif0 = <1 0 1 1 1 1 1 1 2>;
  98. };
  99. gpio-keys-polled {
  100. compatible = "gpio-keys-polled";
  101. #address-cells = <1>;
  102. #size-cells = <0>;
  103. poll-interval = <100>;
  104. reset {
  105. label = "reset";
  106. gpios = <&gpio0 6 1>;
  107. linux,code = <0x198>;
  108. };
  109. wps {
  110. label = "wps";
  111. gpios = <&gpio0 3 1>;
  112. linux,code = <0x211>;
  113. };
  114. };
  115. gpio-leds {
  116. compatible = "gpio-leds";
  117. wps {
  118. label = "samsung:blue:wps";
  119. gpios = <&gpio0 0 1>;
  120. };
  121. usb {
  122. label = "samsung:blue:usb";
  123. gpios = <&gpio1 1 1>;
  124. };
  125. };
  126. };