OpenWrt – Blame information for rev 1
?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 = "allnet,all5003", "ralink,rt5350-soc"; |
||
10 | model = "Allnet ALL5003"; |
||
11 | |||
12 | i2c-gpio { |
||
13 | #address-cells = <1>; |
||
14 | #size-cells = <0>; |
||
15 | |||
16 | compatible = "i2c-gpio"; |
||
17 | gpios = <&gpio0 1 GPIO_ACTIVE_HIGH &gpio0 2 GPIO_ACTIVE_HIGH>; |
||
18 | i2c-gpio,delay-us = <10>; |
||
19 | |||
20 | pcf0: iexp@38 { |
||
21 | #gpio-cells = <2>; |
||
22 | compatible = "inxp,pcf8574a"; |
||
23 | reg = <0x38>; |
||
24 | gpio-controller; |
||
25 | }; |
||
26 | |||
27 | hwmon@4b { |
||
28 | compatible = "national,lm92"; |
||
29 | reg = <0x4b>; |
||
30 | }; |
||
31 | }; |
||
32 | |||
33 | leds { |
||
34 | compatible = "gpio-leds"; |
||
35 | |||
36 | ld1 { |
||
37 | label = "all5003:green:ld1"; |
||
38 | gpios = <&pcf0 0 GPIO_ACTIVE_LOW>; |
||
39 | }; |
||
40 | |||
41 | ld2 { |
||
42 | label = "all5003:green:ld2"; |
||
43 | gpios = <&pcf0 1 GPIO_ACTIVE_LOW>; |
||
44 | }; |
||
45 | }; |
||
46 | }; |
||
47 | |||
48 | &gpio0 { |
||
49 | status = "okay"; |
||
50 | }; |
||
51 | |||
52 | &spi0 { |
||
53 | status = "okay"; |
||
54 | |||
55 | m25p80@0 { |
||
56 | compatible = "jedec,spi-nor"; |
||
57 | reg = <0>; |
||
58 | spi-max-frequency = <10000000>; |
||
59 | |||
60 | partitions { |
||
61 | compatible = "fixed-partitions"; |
||
62 | #address-cells = <1>; |
||
63 | #size-cells = <1>; |
||
64 | |||
65 | partition@0 { |
||
66 | label = "u-boot"; |
||
67 | reg = <0x0 0x30000>; |
||
68 | read-only; |
||
69 | }; |
||
70 | |||
71 | partition@30000 { |
||
72 | label = "u-boot-env"; |
||
73 | reg = <0x30000 0x10000>; |
||
74 | read-only; |
||
75 | }; |
||
76 | |||
77 | factory: partition@40000 { |
||
78 | label = "factory"; |
||
79 | reg = <0x40000 0x10000>; |
||
80 | read-only; |
||
81 | }; |
||
82 | |||
83 | partition@50000 { |
||
84 | compatible = "denx,uimage"; |
||
85 | label = "firmware"; |
||
86 | reg = <0x50000 0x1fb0000>; |
||
87 | }; |
||
88 | }; |
||
89 | }; |
||
90 | }; |
||
91 | |||
92 | &pinctrl { |
||
93 | state_default: pinctrl0 { |
||
94 | gpio { |
||
95 | ralink,group = "i2c", "jtag", "uartf"; |
||
96 | ralink,function = "gpio"; |
||
97 | }; |
||
98 | }; |
||
99 | }; |
||
100 | |||
101 | ðernet { |
||
102 | mtd-mac-address = <&factory 0x28>; |
||
103 | }; |
||
104 | |||
105 | &esw { |
||
106 | mediatek,portmap = <0x3f>; |
||
107 | }; |
||
108 | |||
109 | &wmac { |
||
110 | ralink,mtd-eeprom = <&factory 0>; |
||
111 | }; |
||
112 | |||
113 | &ehci { |
||
114 | status = "okay"; |
||
115 | }; |
||
116 | |||
117 | &ohci { |
||
118 | status = "okay"; |
||
119 | }; |