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