ramips: add support for Belkin F9K1109v1
[openwrt/openwrt.git] / target / linux / ramips / dts / F9K110x.dtsi
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2
3 #include "rt3883.dtsi"
4
5 / {
6 compatible = "ralink,rt3883-soc";
7 };
8
9 &gpio1 {
10 status = "okay";
11 };
12
13 &spi0 {
14 status = "okay";
15
16 flash@0 {
17 compatible = "jedec,spi-nor";
18 reg = <0>;
19 spi-max-frequency = <25000000>;
20
21 partitions {
22 compatible = "fixed-partitions";
23 #address-cells = <1>;
24 #size-cells = <1>;
25
26 partition@0 {
27 label = "uboot";
28 reg = <0x0 0x30000>;
29 read-only;
30 };
31
32 partition@30000 {
33 label = "uboot-env";
34 reg = <0x30000 0x10000>;
35 read-only;
36 };
37
38 factory: partition@40000 {
39 label = "factory";
40 reg = <0x40000 0x10000>;
41 read-only;
42 };
43
44 partition@50000 {
45 compatible = "denx,uimage";
46 label = "firmware";
47 reg = <0x50000 0x7a0000>;
48 };
49
50 partition@7f0000 {
51 label = "user-cfg";
52 reg = <0x7f0000 0x10000>;
53 read-only;
54 };
55 };
56 };
57 };
58
59 &ethernet {
60 port@0 {
61 mediatek,fixed-link = <1000 1 1 1>;
62 phy-mode = "rgmii";
63 };
64 };
65
66 &pinctrl {
67 state_default: pinctrl0 {
68 gpio {
69 ralink,group = "i2c", "jtag", "uartf";
70 ralink,function = "gpio";
71 };
72 };
73 };
74
75 &wmac {
76 status = "okay";
77 ralink,mtd-eeprom = <&factory 0>;
78 };
79
80 &pci {
81 status = "okay";
82 };
83
84 &pci1 {
85 status = "okay";
86
87 wifi@1,0 {
88 compatible = "pci1814,3091";
89 reg = <0x10000 0 0 0 0>;
90 ralink,5ghz = <0>;
91 ralink,mtd-eeprom = <&factory 0x8000>;
92 };
93 };
94
95 &ehci {
96 status = "okay";
97 };
98
99 &ohci {
100 status = "okay";
101 };