OpenWrt – Blame information for rev 3

Subversion Repositories:
Rev:
Rev Author Line No. Line
1 office 1 /dts-v1/;
2  
3 #include "rt5350.dtsi"
4  
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
7  
8 / {
9 compatible = "hame,mpr-a2", "ralink,rt5350-soc";
10 model = "HAME MPR-A2";
11  
3 office 12 gpio-leds {
1 office 13 compatible = "gpio-leds";
14  
3 office 15 system {
1 office 16 label = "mpr-a2:blue:system";
17 gpios = <&gpio0 20 GPIO_ACTIVE_LOW>;
18 };
19  
20 power {
21 label = "mpr-a2:red:power";
22 gpios = <&gpio0 17 GPIO_ACTIVE_LOW>;
23 };
24 };
25  
3 office 26 gpio-keys-polled {
1 office 27 compatible = "gpio-keys-polled";
3 office 28 #address-cells = <1>;
29 #size-cells = <0>;
1 office 30 poll-interval = <20>;
31  
32 wps {
33 label = "reset";
34 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
35 linux,code = <KEY_RESTART>;
36 };
37 };
38  
39 gpio_export {
40 compatible = "gpio-export";
41 #size-cells = <0>;
42  
43 usb {
44 gpio-export,name = "usb";
45 gpio-export,output = <1>;
46 gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>;
47 };
48  
49 root_hub {
50 gpio-export,name = "root_hub";
51 gpio-export,output = <1>;
52 gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>;
53 };
54 };
55 };
56  
57 &spi0 {
58 status = "okay";
59  
60 m25p80@0 {
3 office 61 #address-cells = <1>;
62 #size-cells = <1>;
1 office 63 compatible = "jedec,spi-nor";
64 reg = <0>;
65 spi-max-frequency = <10000000>;
66  
3 office 67 partition@0 {
68 label = "u-boot";
69 reg = <0x0 0x30000>;
70 read-only;
71 };
1 office 72  
3 office 73 partition@30000 {
74 label = "u-boot-env";
75 reg = <0x30000 0x10000>;
76 read-only;
77 };
1 office 78  
3 office 79 factory: partition@40000 {
80 label = "factory";
81 reg = <0x40000 0x10000>;
82 read-only;
83 };
1 office 84  
3 office 85 partition@50000 {
86 label = "firmware";
87 reg = <0x50000 0x7b0000>;
1 office 88 };
89 };
90 };
91  
92 &pinctrl {
93 state_default: pinctrl0 {
94 gpio {
3 office 95 ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf";
1 office 96 ralink,function = "gpio";
97 };
98 };
99 };
100  
101 &ethernet {
102 mtd-mac-address = <&factory 0x4>;
103 };
104  
105 &esw {
106 mediatek,portmap = <0x1>;
107 mediatek,portdisable = <0x3e>;
108 };
109  
110 &wmac {
111 ralink,mtd-eeprom = <&factory 0>;
112 };
113  
114 &ehci {
115 status = "okay";
116 };
117  
118 &ohci {
119 status = "okay";
120 };