OpenWrt – Blame information for rev 3
?pathlinks?
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 = "omnima,miniembplug", "ralink,rt5350-soc"; |
||
10 | model = "Omnima MiniEMBPlug"; |
||
11 | |||
3 | office | 12 | gpio-leds { |
1 | office | 13 | compatible = "gpio-leds"; |
14 | |||
15 | wlan { |
||
16 | label = "miniembplug:red:wlan"; |
||
17 | gpios = <&gpio0 9 GPIO_ACTIVE_HIGH>; |
||
18 | }; |
||
19 | |||
20 | mobile { |
||
21 | label = "miniembplug:green:mobile"; |
||
22 | gpios = <&gpio0 13 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 = "wps"; |
||
34 | gpios = <&gpio0 0 GPIO_ACTIVE_LOW>; |
||
35 | linux,code = <KEY_WPS_BUTTON>; |
||
36 | }; |
||
37 | |||
38 | reset { |
||
39 | label = "reset"; |
||
40 | gpios = <&gpio0 10 GPIO_ACTIVE_LOW>; |
||
41 | linux,code = <KEY_WPS_BUTTON>; |
||
42 | }; |
||
43 | |||
44 | mode-one { |
||
45 | label = "mode1"; |
||
46 | gpios = <&gpio0 11 GPIO_ACTIVE_LOW>; |
||
47 | linux,code = <KEY_WPS_BUTTON>; |
||
48 | }; |
||
49 | |||
50 | mode-two { |
||
51 | label = "mode2"; |
||
52 | gpios = <&gpio0 12 GPIO_ACTIVE_LOW>; |
||
53 | linux,code = <KEY_WPS_BUTTON>; |
||
54 | }; |
||
55 | }; |
||
56 | }; |
||
57 | |||
58 | &pinctrl { |
||
59 | state_default: pinctrl0 { |
||
60 | gpio { |
||
61 | ralink,group = "i2c", "jtag", "uartf"; |
||
62 | ralink,function = "gpio"; |
||
63 | }; |
||
64 | }; |
||
65 | }; |
||
66 | |||
67 | &gpio0 { |
||
68 | status = "okay"; |
||
69 | }; |
||
70 | |||
71 | &spi0 { |
||
72 | status = "okay"; |
||
73 | |||
74 | m25p80@0 { |
||
3 | office | 75 | #address-cells = <1>; |
76 | #size-cells = <1>; |
||
1 | office | 77 | compatible = "jedec,spi-nor"; |
78 | reg = <0>; |
||
79 | spi-max-frequency = <10000000>; |
||
80 | |||
3 | office | 81 | partition@0 { |
82 | label = "u-boot"; |
||
83 | reg = <0x0 0x30000>; |
||
84 | read-only; |
||
85 | }; |
||
1 | office | 86 | |
3 | office | 87 | partition@30000 { |
88 | label = "u-boot-env"; |
||
89 | reg = <0x30000 0x10000>; |
||
90 | read-only; |
||
91 | }; |
||
1 | office | 92 | |
3 | office | 93 | factory: partition@40000 { |
94 | label = "factory"; |
||
95 | reg = <0x40000 0x10000>; |
||
96 | read-only; |
||
97 | }; |
||
1 | office | 98 | |
3 | office | 99 | partition@50000 { |
100 | label = "firmware"; |
||
101 | reg = <0x50000 0x7b0000>; |
||
1 | office | 102 | }; |
103 | }; |
||
104 | }; |
||
105 | |||
106 | ðernet { |
||
107 | mtd-mac-address = <&factory 0x4>; |
||
108 | }; |
||
109 | |||
110 | &esw { |
||
111 | mediatek,portmap = <0x2f>; |
||
112 | }; |
||
113 | |||
114 | &wmac { |
||
115 | ralink,mtd-eeprom = <&factory 0>; |
||
116 | }; |
||
117 | |||
118 | &ehci { |
||
119 | status = "okay"; |
||
120 | }; |
||
121 | |||
122 | &ohci { |
||
123 | status = "okay"; |
||
124 | }; |