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