]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - sys/gnu/dts/mips/BROADWAY.dts
Update lldb to trunk r290819 and resolve conflicts.
[FreeBSD/FreeBSD.git] / sys / gnu / dts / mips / BROADWAY.dts
1 /dts-v1/;
2
3 #include "rt3050.dtsi"
4
5 / {
6         compatible = "BROADWAY", "ralink,rt3052-soc";
7         model = "Hauppauge Broadway";
8
9         cfi@1f000000 {
10                 compatible = "cfi-flash";
11                 reg = <0x1f000000 0x800000>;
12                 bank-width = <2>;
13                 device-width = <2>;
14                 #address-cells = <1>;
15                 #size-cells = <1>;
16
17                 partition@0 {
18                         label = "bootloader";
19                         reg = <0x0 0x30000>;
20                         read-only;
21                 };
22
23                 partition@30000 {
24                         label = "config";
25                         reg = <0x30000 0x10000>;
26                         read-only;
27                 };
28
29                 factory: partition@40000 {
30                         label = "factory";
31                         reg = <0x40000 0x10000>;
32                         read-only;
33                 };
34
35                 partition@50000 {
36                         label = "firmware";
37                         reg = <0x50000 0x790000>;
38                 };
39         };
40
41         gpio-leds {
42                 compatible = "gpio-leds";
43
44                 diskmounted {
45                         label = "broadway:red:diskmounted";
46                         gpios = <&gpio0 9 1>;
47                 };
48
49                 wps_active {
50                         label = "broadway:red:wps_active";
51                         gpios = <&gpio0 14 1>;
52                 };
53         };
54
55         gpio-keys-polled {
56                 compatible = "gpio-keys-polled";
57                 #address-cells = <1>;
58                 #size-cells = <0>;
59                 poll-interval = <20>;
60
61                 factory {
62                         label = "Factory Reset button";
63                         gpios = <&gpio0 13 1>;
64                         linux,code = <0x198>;
65                 };
66         };
67 };
68
69 &pinctrl {
70         state_default: pinctrl0 {
71                 gpio {
72                         ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
73                         ralink,function = "gpio";
74                 };
75         };
76 };
77
78 &ethernet {
79         mtd-mac-address = <&factory 0x4>;
80 };
81
82 &esw {
83         mediatek,portmap = <0x3e>;
84 };
85
86 &wmac {
87         ralink,mtd-eeprom = <&factory 0>;
88 };
89
90 &otg {
91         status = "okay";
92 };