OpenWrt – Blame information for rev 3
?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 | |||
21 | led-dsl = &dsl; |
||
22 | }; |
||
23 | |||
24 | memory@0 { |
||
25 | reg = <0x0 0x2000000>; |
||
26 | }; |
||
27 | |||
28 | gpio-keys-polled { |
||
29 | compatible = "gpio-keys-polled"; |
||
30 | #address-cells = <1>; |
||
31 | #size-cells = <0>; |
||
32 | poll-interval = <100>; |
||
33 | |||
34 | reset { |
||
35 | label = "reset"; |
||
36 | gpios = <&gpio 40 GPIO_ACTIVE_LOW>; |
||
37 | linux,code = <KEY_RESTART>; |
||
38 | }; |
||
39 | }; |
||
40 | |||
41 | gpio-leds { |
||
42 | compatible = "gpio-leds"; |
||
43 | |||
44 | dsl: dsl { |
||
45 | label = "asl56026:green:dsl"; |
||
46 | gpios = <&gpio 6 GPIO_ACTIVE_LOW>; |
||
47 | }; |
||
48 | |||
49 | /* power-* is a bicolour led */ |
||
50 | power_green: power_green { |
||
51 | label = "asl56026:green:power"; |
||
52 | gpios = <&gpio 17 GPIO_ACTIVE_HIGH>; |
||
53 | default-state = "keep"; |
||
54 | }; |
||
55 | |||
56 | power_red: power_red { |
||
57 | label = "asl56026:red:power"; |
||
58 | gpios = <&gpio 18 GPIO_ACTIVE_HIGH>; |
||
59 | }; |
||
60 | }; |
||
61 | |||
62 | gpio_export { |
||
63 | compatible = "gpio-export"; |
||
64 | #size-cells = <0>; |
||
65 | |||
66 | power_led_blink { |
||
67 | gpio-export,name = "power_led_blink"; |
||
68 | gpio-export,output = <0>; |
||
69 | gpios = <&gpio 16 GPIO_ACTIVE_LOW>; |
||
70 | }; |
||
71 | }; |
||
72 | }; |
||
73 | |||
74 | ð0 { |
||
75 | lan: interface@0 { |
||
76 | compatible = "lantiq,xrx200-pdi"; |
||
77 | #address-cells = <1>; |
||
78 | #size-cells = <0>; |
||
79 | reg = <0>; |
||
80 | lantiq,switch; |
||
81 | |||
82 | ethernet@2 { |
||
83 | compatible = "lantiq,xrx200-pdi-port"; |
||
84 | reg = <2>; |
||
85 | phy-mode = "mii"; |
||
86 | phy-handle = <&phy11>; |
||
87 | }; |
||
88 | |||
89 | ethernet@3 { |
||
90 | compatible = "lantiq,xrx200-pdi-port"; |
||
91 | reg = <3>; |
||
92 | phy-mode = "mii"; |
||
93 | phy-handle = <&phy14>; |
||
94 | }; |
||
3 | office | 95 | |
1 | office | 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 | }; |
||
3 | office | 113 | |
1 | office | 114 | }; |
115 | }; |
||
116 | |||
117 | &gphy0 { |
||
118 | lantiq,gphy-mode = <GPHY_MODE_FE>; |
||
119 | }; |
||
120 | |||
121 | &gphy1 { |
||
122 | lantiq,gphy-mode = <GPHY_MODE_FE>; |
||
123 | }; |
||
124 | |||
125 | &gpio { |
||
126 | pinctrl-names = "default"; |
||
127 | pinctrl-0 = <&state_default>; |
||
128 | |||
129 | state_default: pinmux { |
||
130 | mdio { |
||
131 | lantiq,groups = "mdio"; |
||
132 | lantiq,function = "mdio"; |
||
133 | }; |
||
134 | }; |
||
135 | }; |
||
136 | |||
137 | &localbus { |
||
138 | nor@0 { |
||
139 | compatible = "lantiq,nor"; |
||
140 | bank-width = <2>; |
||
141 | reg = <0 0x0 0x0800000>; |
||
142 | #address-cells = <1>; |
||
143 | #size-cells = <1>; |
||
144 | |||
145 | partitions { |
||
146 | compatible = "fixed-partitions"; |
||
147 | #address-cells = <1>; |
||
148 | #size-cells = <1>; |
||
149 | |||
150 | partition@0 { |
||
151 | label = "uboot"; |
||
152 | reg = <0x0 0x30000>; |
||
153 | }; |
||
154 | |||
155 | partition@30000 { |
||
156 | label = "uboot_env"; |
||
157 | reg = <0x30000 0x10000>; |
||
158 | }; |
||
159 | |||
160 | partition@40000 { |
||
161 | label = "firmware"; |
||
162 | reg = <0x40000 0x750000>; |
||
163 | }; |
||
164 | |||
165 | partition@790000 { |
||
166 | label = "ddrconfig"; |
||
167 | reg = <0x790000 0x70000>; |
||
168 | read-only; |
||
169 | }; |
||
170 | }; |
||
171 | }; |
||
172 | }; |