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";
17 memory@0 { /* 128 MB */
18 device_type = "memory";
19 reg = <0x00000000 0x8000000>;
23 bootargs = "console=ttyS0,115200n8";
28 compatible = "gpio-keys";
31 debounce-interval = <100>;
33 linux,code = <KEY_SETUP>;
35 /* Conflict with ICE */
36 gpios = <&gpio0 5 GPIO_ACTIVE_LOW>;
41 compatible = "gpio-leds";
44 label = "wbd111:red:L3";
45 /* Conflict with TVC and extended parallel flash */
46 gpios = <&gpio0 1 GPIO_ACTIVE_HIGH>;
47 default-state = "off";
50 label = "wbd111:green:L4";
51 /* Conflict with TVC and extended parallel flash */
52 gpios = <&gpio0 2 GPIO_ACTIVE_HIGH>;
53 default-state = "off";
56 label = "wbd111:red:L4";
57 /* Conflict with TVC and extended parallel flash */
58 gpios = <&gpio0 3 GPIO_ACTIVE_HIGH>;
59 default-state = "off";
62 label = "wbd111:green:L3";
63 /* Conflict with TVC and extended parallel flash */
64 gpios = <&gpio0 5 GPIO_ACTIVE_HIGH>;
66 linux,default-trigger = "heartbeat";
71 compatible = "virtual,mdio-gpio";
72 gpios = <&gpio0 22 GPIO_ACTIVE_HIGH>, /* MDC */
73 <&gpio0 21 GPIO_ACTIVE_HIGH>; /* MDIO */
77 phy0: ethernet-phy@1 {
79 device_type = "ethernet-phy";
82 phy1: ethernet-phy@3 {
84 device_type = "ethernet-phy";
92 reg = <0x30000000 0x00800000>;
96 reg = <0x00000000 0x00020000>;
101 reg = <0x00020000 0x00100000>;
105 reg = <0x00120000 0x006a0000>;
109 reg = <0x007c0000 0x00010000>;
114 reg = <0x007d0000 0x00010000>;
119 reg = <0x007e0000 0x00010000>;
124 syscon: syscon@40000000 {
127 * gpio0agrp cover line 0-4
128 * gpio0bgrp cover line 5
130 gpio0_default_pins: pinctrl-gpio0 {
133 groups = "gpio0agrp",
138 /* This platform use both the ethernet ports */
141 groups = "gmii_gmac0_grp", "gmii_gmac1_grp";
147 gpio0: gpio@4d000000 {
148 pinctrl-names = "default";
149 pinctrl-0 = <&gpio0_default_pins>;
154 interrupt-map-mask = <0xf800 0 0 7>;
156 <0x4800 0 0 1 &pci_intc 0>, /* Slot 9 */
157 <0x4800 0 0 2 &pci_intc 1>,
158 <0x4800 0 0 3 &pci_intc 2>,
159 <0x4800 0 0 4 &pci_intc 3>,
160 <0x5000 0 0 1 &pci_intc 1>, /* Slot 10 */
161 <0x5000 0 0 2 &pci_intc 2>,
162 <0x5000 0 0 3 &pci_intc 3>,
163 <0x5000 0 0 4 &pci_intc 0>,
164 <0x5800 0 0 1 &pci_intc 2>, /* Slot 11 */
165 <0x5800 0 0 2 &pci_intc 3>,
166 <0x5800 0 0 3 &pci_intc 0>,
167 <0x5800 0 0 4 &pci_intc 1>,
168 <0x6000 0 0 1 &pci_intc 3>, /* Slot 12 */
169 <0x6000 0 0 2 &pci_intc 0>,
170 <0x6000 0 0 3 &pci_intc 1>,
171 <0x6000 0 0 4 &pci_intc 2>;
179 phy-handle = <&phy0>;
183 phy-handle = <&phy1>;