OpenWrt – Blame information for rev 2
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 1 | /dts-v1/; |
2 | |||
3 | #include "vr9.dtsi" |
||
4 | |||
5 | #include <dt-bindings/input/input.h> |
||
6 | #include <dt-bindings/mips/lantiq_rcu_gphy.h> |
||
7 | |||
8 | / { |
||
9 | compatible = "alphanetworks,asl56026", "lantiq,xway", "lantiq,vr9"; |
||
10 | model = "BT OpenReach VDSL Modem"; |
||
11 | |||
12 | chosen { |
||
13 | bootargs = "console=ttyLTQ0,115200"; |
||
14 | }; |
||
15 | |||
16 | aliases { |
||
17 | led-boot = &power_green; |
||
18 | led-failsafe = &power_red; |
||
19 | led-running = &power_green; |
||
20 | led-upgrade = &power_green; |
||
21 | |||
22 | led-dsl = &dsl; |
||
23 | }; |
||
24 | |||
25 | memory@0 { |
||
26 | reg = <0x0 0x2000000>; |
||
27 | }; |
||
28 | |||
29 | gpio-keys-polled { |
||
30 | compatible = "gpio-keys-polled"; |
||
31 | #address-cells = <1>; |
||
32 | #size-cells = <0>; |
||
33 | poll-interval = <100>; |
||
34 | |||
35 | reset { |
||
36 | label = "reset"; |
||
37 | gpios = <&gpio 40 GPIO_ACTIVE_LOW>; |
||
38 | linux,code = <KEY_RESTART>; |
||
39 | }; |
||
40 | }; |
||
41 | |||
42 | gpio-leds { |
||
43 | compatible = "gpio-leds"; |
||
44 | |||
45 | dsl: dsl { |
||
46 | label = "asl56026:green:dsl"; |
||
47 | gpios = <&gpio 6 GPIO_ACTIVE_LOW>; |
||
48 | }; |
||
49 | |||
50 | /* power-* is a bicolour led */ |
||
51 | power_green: power_green { |
||
52 | label = "asl56026:green:power"; |
||
53 | gpios = <&gpio 17 GPIO_ACTIVE_HIGH>; |
||
54 | default-state = "keep"; |
||
55 | }; |
||
56 | |||
57 | power_red: power_red { |
||
58 | label = "asl56026:red:power"; |
||
59 | gpios = <&gpio 18 GPIO_ACTIVE_HIGH>; |
||
60 | }; |
||
61 | }; |
||
62 | |||
63 | gpio_export { |
||
64 | compatible = "gpio-export"; |
||
65 | #size-cells = <0>; |
||
66 | |||
67 | power_led_blink { |
||
68 | gpio-export,name = "power_led_blink"; |
||
69 | gpio-export,output = <0>; |
||
70 | gpios = <&gpio 16 GPIO_ACTIVE_LOW>; |
||
71 | }; |
||
72 | }; |
||
73 | }; |
||
74 | |||
75 | ð0 { |
||
76 | lan: interface@0 { |
||
77 | compatible = "lantiq,xrx200-pdi"; |
||
78 | #address-cells = <1>; |
||
79 | #size-cells = <0>; |
||
80 | reg = <0>; |
||
81 | lantiq,switch; |
||
82 | |||
83 | ethernet@2 { |
||
84 | compatible = "lantiq,xrx200-pdi-port"; |
||
85 | reg = <2>; |
||
86 | phy-mode = "mii"; |
||
87 | phy-handle = <&phy11>; |
||
88 | }; |
||
89 | |||
90 | ethernet@3 { |
||
91 | compatible = "lantiq,xrx200-pdi-port"; |
||
92 | reg = <3>; |
||
93 | phy-mode = "mii"; |
||
94 | phy-handle = <&phy14>; |
||
95 | }; |
||
96 | }; |
||
97 | |||
98 | mdio@0 { |
||
99 | #address-cells = <1>; |
||
100 | #size-cells = <0>; |
||
101 | compatible = "lantiq,xrx200-mdio"; |
||
102 | reg = <0>; |
||
103 | |||
104 | phy11: ethernet-phy@11 { |
||
105 | reg = <0x11>; |
||
106 | compatible = "lantiq,phy22f", "ethernet-phy-ieee802.3-c22"; |
||
107 | }; |
||
108 | |||
109 | phy14: ethernet-phy@14 { |
||
110 | reg = <0x14>; |
||
111 | compatible = "lantiq,phy22f", "ethernet-phy-ieee802.3-c22"; |
||
112 | }; |
||
113 | }; |
||
114 | }; |
||
115 | |||
116 | &gphy0 { |
||
117 | lantiq,gphy-mode = <GPHY_MODE_FE>; |
||
118 | }; |
||
119 | |||
120 | &gphy1 { |
||
121 | lantiq,gphy-mode = <GPHY_MODE_FE>; |
||
122 | }; |
||
123 | |||
124 | &gpio { |
||
125 | pinctrl-names = "default"; |
||
126 | pinctrl-0 = <&state_default>; |
||
127 | |||
128 | state_default: pinmux { |
||
129 | mdio { |
||
130 | lantiq,groups = "mdio"; |
||
131 | lantiq,function = "mdio"; |
||
132 | }; |
||
133 | }; |
||
134 | }; |
||
135 | |||
136 | &localbus { |
||
137 | nor@0 { |
||
138 | compatible = "lantiq,nor"; |
||
139 | bank-width = <2>; |
||
140 | reg = <0 0x0 0x0800000>; |
||
141 | #address-cells = <1>; |
||
142 | #size-cells = <1>; |
||
143 | |||
144 | partitions { |
||
145 | compatible = "fixed-partitions"; |
||
146 | #address-cells = <1>; |
||
147 | #size-cells = <1>; |
||
148 | |||
149 | partition@0 { |
||
150 | label = "uboot"; |
||
151 | reg = <0x0 0x30000>; |
||
152 | }; |
||
153 | |||
154 | partition@30000 { |
||
155 | label = "uboot_env"; |
||
156 | reg = <0x30000 0x10000>; |
||
157 | }; |
||
158 | |||
159 | partition@40000 { |
||
160 | label = "firmware"; |
||
161 | reg = <0x40000 0x750000>; |
||
162 | }; |
||
163 | |||
164 | partition@790000 { |
||
165 | label = "ddrconfig"; |
||
166 | reg = <0x790000 0x70000>; |
||
167 | read-only; |
||
168 | }; |
||
169 | }; |
||
170 | }; |
||
171 | }; |