Debian Codegraph @

arch/mips/boot/dts/lantiq/danube_easy50712.dts

raw
1 // SPDX-License-Identifier: GPL-2.0
2 /dts-v1/;
3
4 /include/ "danube.dtsi"
5
6 / {
7 model = "Intel EASY50712";
8
9 chosen {
10 bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
11 };
12
13 memory@0 {
14 device_type = "memory";
15 reg = <0x0 0x2000000>;
16 };
17
18 fpi@10000000 {
19 #address-cells = <1>;
20 #size-cells = <1>;
21 localbus@0 {
22 #address-cells = <2>;
23 #size-cells = <1>;
24 ranges = <0 0 0x0 0x3ffffff /* addrsel0 */
25 1 0 0x4000000 0x4000010>; /* addsel1 */
26 compatible = "lantiq,localbus", "simple-bus";
27
28 nor-boot@0 {
29 compatible = "lantiq,nor";
30 bank-width = <2>;
31 reg = <0 0x0 0x2000000>;
32 #address-cells = <1>;
33 #size-cells = <1>;
34
35 partition@0 {
36 label = "uboot";
37 reg = <0x00000 0x10000>; /* 64 KB */
38 };
39
40 partition@10000 {
41 label = "uboot_env";
42 reg = <0x10000 0x10000>; /* 64 KB */
43 };
44
45 partition@20000 {
46 label = "linux";
47 reg = <0x20000 0x3d0000>;
48 };
49
50 partition@400000 {
51 label = "rootfs";
52 reg = <0x400000 0x400000>;
53 };
54 };
55 };
56
57 gpio: pinmux@e100b10 {
58 compatible = "lantiq,danube-pinctrl";
59 pinctrl-names = "default";
60 pinctrl-0 = <&state_default>;
61
62 #gpio-cells = <2>;
63 gpio-controller;
64 reg = <0xe100b10 0xa0>;
65
66 state_default: pinmux {
67 stp {
68 lantiq,groups = "stp";
69 lantiq,function = "stp";
70 };
71 exin {
72 lantiq,groups = "exin1";
73 lantiq,function = "exin";
74 };
75 pci {
76 lantiq,groups = "gnt1";
77 lantiq,function = "pci";
78 };
79 conf_out {
80 lantiq,pins = "io4", "io5", "io6"; /* stp */
81 lantiq,open-drain;
82 lantiq,pull = <0>;
83 };
84 };
85 };
86
87 ethernet@e180000 {
88 compatible = "lantiq,etop-xway";
89 reg = <0xe180000 0x40000>;
90 interrupt-parent = <&icu0>;
91 interrupts = <73 78>;
92 interrupt-names = "tx", "rx";
93 phy-mode = "rmii";
94 mac-address = [ 00 11 22 33 44 55 ];
95 lantiq,rx-burst-length = <4>;
96 lantiq,tx-burst-length = <4>;
97 };
98
99 stp0: gpio@e100bb0 {
100 #gpio-cells = <2>;
101 compatible = "lantiq,gpio-stp-xway";
102 gpio-controller;
103 reg = <0xe100bb0 0x40>;
104
105 lantiq,shadow = <0xfff>;
106 lantiq,groups = <0x3>;
107 };
108
109 pci@e105400 {
110 lantiq,bus-clock = <33333333>;
111 interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
112 interrupt-map = <
113 0x7000 0 0 1 &icu0 29 1 // slot 14, irq 29
114 >;
115 gpios-reset = <&gpio 21 0>;
116 req-mask = <0x1>; /* GNT1 */
117 };
118
119 };
120 };