Root/target/linux/lantiq/image/ARV4525PW.dts

1/dts-v1/;
2
3/include/ "danube.dtsi"
4
5/ {
6    model = "ARV4525PW - Speedport W501V Typ A";
7
8    memory@0 {
9        reg = <0x0 0x2000000>;
10    };
11
12    sram@1F000000 {
13        vmmc@107000 {
14            status = "okay";
15            gpios = <&gpio 31 0>;
16        };
17    };
18
19    fpi@10000000 {
20        localbus@0 {
21            nor-boot@0 {
22                compatible = "lantiq,nor";
23                bank-width = <2>;
24                reg = <0 0x0 0x2000000>;
25                #address-cells = <1>;
26                #size-cells = <1>;
27
28                partition@0 {
29                    label = "uboot";
30                    reg = <0x00000 0x10000>;
31                    read-only;
32                };
33
34                partition@10000 {
35                    label = "uboot_env";
36                    reg = <0x10000 0x10000>;
37                    read-only;
38                };
39
40                partition@20000 {
41                    label = "linux";
42                    reg = <0x20000 0x3d0000>;
43                };
44
45                partition@400000 {
46                    label = "boardconfig";
47                    reg = <0x3f0000 0x10000>;
48                    read-only;
49                };
50            };
51
52            mac_addr {
53                compatible = "lantiq,eth-mac";
54                reg = <0 0x3f0016 0x6>;
55                mac-increment = <2>;
56            };
57
58            ath5k_eep {
59                compatible = "ath5k,eeprom";
60                reg = <0 0x3f0400 0x800>;
61                ath,mac-offset = <0>;
62                ath,eep-swap;
63            };
64        };
65
66        gpio: pinmux@E100B10 {
67            pinctrl-names = "default";
68            pinctrl-0 = <&state_default>;
69
70            state_default: pinmux {
71                pci_in {
72                    lantiq,groups = "req1";
73                    lantiq,function = "pci";
74                    lantiq,open-drain = <1>;
75                    lantiq,pull = <2>;
76                    lantiq,output = <0>;
77                };
78                pci_out {
79                    lantiq,groups = "gnt1";
80                    lantiq,function = "pci";
81                    lantiq,output = <1>;
82                };
83                pci_rst {
84                    lantiq,pins = "io21";
85                    lantiq,pull = <2>;
86                    lantiq,output = <1>;
87                };
88                relay {
89                    lantiq,pins = "io31";
90                    lantiq,output = <1>;
91                };
92            };
93        };
94
95        etop@E180000 {
96            phy-mode = "mii";
97        };
98
99        pci@E105400 {
100            status = "okay";
101            gpio-reset = <&gpio 21 0>;
102        };
103
104    };
105
106/*
107#define ARV4525PW_PHYRESET 13
108#define ARV4525PW_RELAY 31
109*/
110
111    gpio-keys-polled {
112        compatible = "gpio-keys-polled";
113        #address-cells = <1>;
114        #size-cells = <0>;
115        poll-interval = <100>;
116
117        wps {
118            label = "wps";
119            gpios = <&gpio 29 1>;
120            linux,code = <0x211>;
121        };
122        reset {
123            label = "reset";
124            gpios = <&gpio 30 1>;
125            linux,code = <0x198>;
126        };
127    };
128
129    gpio-leds {
130        compatible = "gpio-leds";
131        fxo {
132            label = "fxo";
133            gpios = <&gpio 4 1>;
134        };
135        fxs {
136            label = "fxs";
137            gpios = <&gpio 5 1>;
138        };
139        dsl {
140            label = "dsl";
141            gpios = <&gpio 6 1>;
142        };
143        wifi {
144            label = "wifi";
145            gpios = <&gpio 8 1>;
146        };
147        online {
148            /*label = "online"; - we dont have a power led, lets use this one */
149            label = "power";
150            gpios = <&gpio 9 1>;
151        };
152    };
153};
154

Archive Download this file



interactive