2e0af387bd58e126f9effbc266ae628c27473e5b
[openwrt/staging/wigyori.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 mtd-mac-address = <&factory 0x66>;
26 port@0 {
27 ralink,fixed-link = <1000 1 1 1>;
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 };
47 };
48 };
49
50 wmac@10180000 {
51 status = "okay";
52 ralink,mtd-eeprom = <&factory 0>;
53 };
54
55 ehci@101c0000 {
56 status = "okay";
57 };
58
59 ohci@101c1000 {
60 status = "okay";
61 };
62
63 nor-flash@1c000000 {
64 compatible = "cfi-flash";
65 reg = <0x1c000000 0x800000>;
66
67 bank-width = <2>;
68 #address-cells = <1>;
69 #size-cells = <1>;
70
71 partition@0 {
72 label = "uboot";
73 reg = <0x0 0x30000>;
74 read-only;
75 };
76 partition@30000 {
77 label = "uboot-env";
78 reg = <0x30000 0x4000>;
79 read-only;
80 };
81 factory: partition@34000 {
82 label = "factory";
83 reg = <0x34000 0x4000>;
84 read-only;
85 };
86 partition@38000 {
87 label = "nvram";
88 reg = <0x38000 0x8000>;
89 read-only;
90 };
91 partition@40000 {
92 label = "devdata";
93 reg = <0x40000 0x10000>;
94 };
95 partition@50000 {
96 label = "firmware";
97 reg = <0x50000 0x7b0000>;
98 };
99 };
100
101 rtl8367 {
102 compatible = "realtek,rtl8367";
103 gpio-sda = <&gpio0 1 0>;
104 gpio-sck = <&gpio0 2 0>;
105 realtek,extif0 = <1 0 1 1 1 1 1 1 2>;
106 };
107
108 gpio-keys-polled {
109 compatible = "gpio-keys-polled";
110 #address-cells = <1>;
111 #size-cells = <0>;
112 poll-interval = <100>;
113 reset {
114 label = "reset";
115 gpios = <&gpio0 6 1>;
116 linux,code = <0x198>;
117 };
118 wps {
119 label = "wps";
120 gpios = <&gpio0 3 1>;
121 linux,code = <0x211>;
122 };
123 };
124
125 gpio-leds {
126 compatible = "gpio-leds";
127 wps {
128 label = "samsung:blue:wps";
129 gpios = <&gpio0 0 1>;
130 };
131 usb {
132 label = "samsung:blue:usb";
133 gpios = <&gpio1 1 1>;
134 };
135 };
136 };