1 // SPDX-License-Identifier: GPL-2.0
3 * Device Tree file for Wiliboard WBD-222
9 #include <dt-bindings/input/input.h>
12 model = "Wiliboard WBD-222";
13 compatible = "wiliboard,wbd222", "cortina,gemini";
18 device_type = "memory";
19 reg = <0x00000000 0x8000000>;
23 bootargs = "console=ttyS0,115200n8";
28 compatible = "gpio-keys";
33 debounce_interval = <50>;
35 linux,code = <KEY_SETUP>;
37 /* Conflict with ICE */
38 gpios = <&gpio0 5 GPIO_ACTIVE_LOW>;
43 compatible = "gpio-leds";
46 label = "wbd111:red:L3";
47 /* Conflict with TVC and extended parallel flash */
48 gpios = <&gpio0 1 GPIO_ACTIVE_HIGH>;
49 default-state = "off";
52 label = "wbd111:green:L4";
53 /* Conflict with TVC and extended parallel flash */
54 gpios = <&gpio0 2 GPIO_ACTIVE_HIGH>;
55 default-state = "off";
58 label = "wbd111:red:L4";
59 /* Conflict with TVC and extended parallel flash */
60 gpios = <&gpio0 3 GPIO_ACTIVE_HIGH>;
61 default-state = "off";
64 label = "wbd111:green:L3";
65 /* Conflict with TVC and extended parallel flash */
66 gpios = <&gpio0 5 GPIO_ACTIVE_HIGH>;
68 linux,default-trigger = "heartbeat";
73 compatible = "virtual,mdio-gpio";
74 gpios = <&gpio0 22 GPIO_ACTIVE_HIGH>, /* MDC */
75 <&gpio0 21 GPIO_ACTIVE_HIGH>; /* MDIO */
79 phy0: ethernet-phy@1 {
81 device_type = "ethernet-phy";
84 phy1: ethernet-phy@3 {
86 device_type = "ethernet-phy";
94 reg = <0x30000000 0x00800000>;
98 reg = <0x00000000 0x00020000>;
103 reg = <0x00020000 0x00100000>;
107 reg = <0x00120000 0x006a0000>;
111 reg = <0x007c0000 0x00010000>;
116 reg = <0x007d0000 0x00010000>;
121 reg = <0x007e0000 0x00010000>;
126 syscon: syscon@40000000 {
129 * gpio0agrp cover line 0-4
130 * gpio0bgrp cover line 5
132 gpio0_default_pins: pinctrl-gpio0 {
135 groups = "gpio0agrp",
140 /* This platform use both the ethernet ports */
143 groups = "gmii_gmac0_grp", "gmii_gmac1_grp";
149 gpio0: gpio@4d000000 {
150 pinctrl-names = "default";
151 pinctrl-0 = <&gpio0_default_pins>;
156 interrupt-map-mask = <0xf800 0 0 7>;
158 <0x4800 0 0 1 &pci_intc 0>, /* Slot 9 */
159 <0x4800 0 0 2 &pci_intc 1>,
160 <0x4800 0 0 3 &pci_intc 2>,
161 <0x4800 0 0 4 &pci_intc 3>,
162 <0x5000 0 0 1 &pci_intc 1>, /* Slot 10 */
163 <0x5000 0 0 2 &pci_intc 2>,
164 <0x5000 0 0 3 &pci_intc 3>,
165 <0x5000 0 0 4 &pci_intc 0>,
166 <0x5800 0 0 1 &pci_intc 2>, /* Slot 11 */
167 <0x5800 0 0 2 &pci_intc 3>,
168 <0x5800 0 0 3 &pci_intc 0>,
169 <0x5800 0 0 4 &pci_intc 1>,
170 <0x6000 0 0 1 &pci_intc 3>, /* Slot 12 */
171 <0x6000 0 0 2 &pci_intc 0>,
172 <0x6000 0 0 3 &pci_intc 1>,
173 <0x6000 0 0 4 &pci_intc 2>;
181 phy-handle = <&phy0>;
185 phy-handle = <&phy1>;