OpenWrt – Blame information for rev 4
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
4 | office | 1 | /dts-v1/; |
2 | |||
3 | #include "amazonse.dtsi" |
||
4 | |||
5 | / { |
||
6 | compatible = "allnet,all0333cj", "lantiq,xway", "lantiq,ase"; |
||
7 | model = "Allnet ALL0333CJ DSL Modem"; |
||
8 | |||
9 | chosen { |
||
10 | bootargs = "console=ttyLTQ0,115200"; |
||
11 | |||
12 | aliases { |
||
13 | led-boot = &power; |
||
14 | led-failsafe = &power; |
||
15 | led-running = &power; |
||
16 | |||
17 | led-dsl = &dsl; |
||
18 | led-internet = &online_green; |
||
19 | }; |
||
20 | |||
21 | }; |
||
22 | |||
23 | memory@0 { |
||
24 | reg = <0x0 0x1000000>; |
||
25 | }; |
||
26 | |||
27 | fpi@b0000000 { |
||
28 | etop@E180000 { |
||
29 | phy-mode = "mii"; |
||
30 | }; |
||
31 | }; |
||
32 | |||
33 | fpi@10000000 { |
||
34 | gpio: pinmux@E100B10 { |
||
35 | pinctrl-names = "default"; |
||
36 | pinctrl-0 = <&state_default>; |
||
37 | |||
38 | state_default: pinmux { |
||
39 | asc { |
||
40 | lantiq,groups = "asc"; |
||
41 | lantiq,function = "asc"; |
||
42 | }; |
||
43 | keys_in { |
||
44 | lantiq,pins = "io0",/* "io25", */"io29"; |
||
45 | lantiq,pull = <2>; |
||
46 | lantiq,open-drain = <1>; |
||
47 | }; |
||
48 | }; |
||
49 | }; |
||
50 | |||
51 | localbus@0 { |
||
52 | nor-boot@0 { |
||
53 | compatible = "lantiq,nor"; |
||
54 | bank-width = <2>; |
||
55 | reg = <0 0x0 0x400000>; |
||
56 | #address-cells = <1>; |
||
57 | #size-cells = <1>; |
||
58 | |||
59 | partitions { |
||
60 | compatible = "fixed-partitions"; |
||
61 | #address-cells = <1>; |
||
62 | #size-cells = <1>; |
||
63 | |||
64 | partition@0 { |
||
65 | label = "uboot"; |
||
66 | reg = <0x00000 0x10000>; |
||
67 | read-only; |
||
68 | }; |
||
69 | |||
70 | partition@10000 { |
||
71 | label = "firmware"; |
||
72 | reg = <0x10000 0x3ef200>; |
||
73 | }; |
||
74 | |||
75 | partition@3ff200 { |
||
76 | label = "uboot_env"; |
||
77 | reg = <0x3ff200 0xc00>; |
||
78 | read-only; |
||
79 | }; |
||
80 | |||
81 | partition@3ffe00 { |
||
82 | label = "dummy_bits"; |
||
83 | reg = <0x3ffe00 0x200>; |
||
84 | read-only; |
||
85 | }; |
||
86 | }; |
||
87 | }; |
||
88 | }; |
||
89 | }; |
||
90 | |||
91 | gpio-leds { |
||
92 | compatible = "gpio-leds"; |
||
93 | |||
94 | /* power led: red=off, green=on */ |
||
95 | power: power { |
||
96 | label = "all0333cj:green:power"; |
||
97 | gpios = <&gpio 13 GPIO_ACTIVE_LOW>; |
||
98 | default-state = "keep"; |
||
99 | }; |
||
100 | |||
101 | lan: lan { |
||
102 | label = "all0333cj:green:lan"; |
||
103 | gpios = <&gpio 3 GPIO_ACTIVE_LOW>; |
||
104 | }; |
||
105 | |||
106 | dsl: dsl { |
||
107 | label = "all0333cj:green:dsl"; |
||
108 | gpios = <&gpio 1 GPIO_ACTIVE_LOW>; |
||
109 | }; |
||
110 | |||
111 | online_green: online { |
||
112 | label = "all0333cj:green:online"; |
||
113 | gpios = <&gpio 12 GPIO_ACTIVE_LOW>; |
||
114 | }; |
||
115 | online_red { |
||
116 | label = "all0333cj:red:online"; |
||
117 | gpios = <&gpio 4 GPIO_ACTIVE_LOW>; |
||
118 | }; |
||
119 | }; |
||
120 | }; |