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 = "poray,m3", "ralink,rt5350-soc"; |
||
10 | model = "Poray M3"; |
||
11 | |||
3 | office | 12 | gpio-leds { |
1 | office | 13 | compatible = "gpio-leds"; |
14 | |||
3 | office | 15 | status { |
1 | office | 16 | label = "m3:blue:status"; |
17 | gpios = <&gpio0 9 GPIO_ACTIVE_LOW>; |
||
18 | }; |
||
19 | }; |
||
20 | |||
3 | office | 21 | gpio-keys-polled { |
1 | office | 22 | compatible = "gpio-keys-polled"; |
3 | office | 23 | #address-cells = <1>; |
24 | #size-cells = <0>; |
||
1 | office | 25 | poll-interval = <20>; |
26 | |||
27 | reset { |
||
28 | label = "reset"; |
||
29 | gpios = <&gpio0 10 GPIO_ACTIVE_LOW>; |
||
30 | linux,code = <KEY_RESTART>; |
||
31 | }; |
||
32 | |||
33 | mode { |
||
34 | label = "mode"; |
||
35 | gpios = <&gpio0 17 GPIO_ACTIVE_LOW>; |
||
36 | linux,code = <BTN_0>; |
||
37 | linux,input-type = <EV_SW>; |
||
38 | }; |
||
39 | }; |
||
40 | }; |
||
41 | |||
42 | &spi0 { |
||
43 | status = "okay"; |
||
44 | |||
45 | m25p80@0 { |
||
3 | office | 46 | #address-cells = <1>; |
47 | #size-cells = <1>; |
||
1 | office | 48 | compatible = "jedec,spi-nor"; |
49 | reg = <0>; |
||
50 | spi-max-frequency = <10000000>; |
||
51 | |||
3 | office | 52 | partition@0 { |
53 | label = "u-boot"; |
||
54 | reg = <0x0 0x30000>; |
||
55 | read-only; |
||
56 | }; |
||
1 | office | 57 | |
3 | office | 58 | partition@30000 { |
59 | label = "u-boot-env"; |
||
60 | reg = <0x30000 0x10000>; |
||
61 | read-only; |
||
62 | }; |
||
1 | office | 63 | |
3 | office | 64 | factory: partition@40000 { |
65 | label = "factory"; |
||
66 | reg = <0x40000 0x10000>; |
||
67 | read-only; |
||
68 | }; |
||
1 | office | 69 | |
3 | office | 70 | partition@50000 { |
71 | label = "firmware"; |
||
72 | reg = <0x50000 0x3b0000>; |
||
1 | office | 73 | }; |
74 | }; |
||
75 | }; |
||
76 | |||
77 | &pinctrl { |
||
78 | state_default: pinctrl0 { |
||
79 | gpio { |
||
80 | ralink,group = "i2c", "jtag", "uartf"; |
||
81 | ralink,function = "gpio"; |
||
82 | }; |
||
83 | }; |
||
84 | }; |
||
85 | |||
86 | ðernet { |
||
87 | mtd-mac-address = <&factory 0x4>; |
||
88 | }; |
||
89 | |||
90 | &esw { |
||
91 | mediatek,portmap = <0x2f>; |
||
92 | mediatek,led_polarity = <1>; |
||
93 | }; |
||
94 | |||
95 | &wmac { |
||
96 | ralink,mtd-eeprom = <&factory 0>; |
||
97 | ralink,led-polarity = <1>; |
||
98 | }; |
||
99 | |||
100 | &ehci { |
||
101 | status = "okay"; |
||
102 | }; |
||
103 | |||
104 | &ohci { |
||
105 | status = "okay"; |
||
106 | }; |