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,x8", "ralink,rt5350-soc"; |
||
10 | model = "Poray X8"; |
||
11 | |||
3 | office | 12 | gpio-leds { |
1 | office | 13 | compatible = "gpio-leds"; |
14 | |||
3 | office | 15 | power { |
1 | office | 16 | label = "x8:green:power"; |
17 | gpios = <&gpio0 13 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 | }; |
||
34 | |||
35 | &spi0 { |
||
36 | status = "okay"; |
||
37 | |||
38 | m25p80@0 { |
||
3 | office | 39 | #address-cells = <1>; |
40 | #size-cells = <1>; |
||
1 | office | 41 | compatible = "jedec,spi-nor"; |
42 | reg = <0>; |
||
43 | spi-max-frequency = <10000000>; |
||
44 | |||
3 | office | 45 | partition@0 { |
46 | label = "u-boot"; |
||
47 | reg = <0x0 0x30000>; |
||
48 | read-only; |
||
49 | }; |
||
1 | office | 50 | |
3 | office | 51 | partition@30000 { |
52 | label = "u-boot-env"; |
||
53 | reg = <0x30000 0x10000>; |
||
54 | read-only; |
||
55 | }; |
||
1 | office | 56 | |
3 | office | 57 | factory: partition@40000 { |
58 | label = "factory"; |
||
59 | reg = <0x40000 0x10000>; |
||
60 | read-only; |
||
61 | }; |
||
1 | office | 62 | |
3 | office | 63 | partition@50000 { |
64 | label = "firmware"; |
||
65 | reg = <0x50000 0x7b0000>; |
||
1 | office | 66 | }; |
67 | }; |
||
68 | }; |
||
69 | |||
70 | &pinctrl { |
||
71 | state_default: pinctrl0 { |
||
72 | gpio { |
||
73 | ralink,group = "i2c", "jtag", "uartf"; |
||
74 | ralink,function = "gpio"; |
||
75 | }; |
||
76 | }; |
||
77 | }; |
||
78 | |||
79 | ðernet { |
||
80 | mtd-mac-address = <&factory 0x4>; |
||
81 | }; |
||
82 | |||
83 | &esw { |
||
84 | mediatek,portmap = <0x2f>; |
||
85 | mediatek,led_polarity = <1>; |
||
86 | }; |
||
87 | |||
88 | &wmac { |
||
89 | ralink,mtd-eeprom = <&factory 0>; |
||
90 | ralink,led-polarity = <1>; |
||
91 | }; |
||
92 | |||
93 | &ehci { |
||
94 | status = "okay"; |
||
95 | }; |
||
96 | |||
97 | &ohci { |
||
98 | status = "okay"; |
||
99 | }; |