.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT |
---|
1 | 2 | /* |
---|
2 | 3 | * Copyright (C) 2016 Rafał Miłecki <rafal@milecki.pl> |
---|
3 | | - * |
---|
4 | | - * Licensed under the ISC license. |
---|
5 | 4 | */ |
---|
6 | 5 | |
---|
7 | 6 | #include <dt-bindings/gpio/gpio.h> |
---|
8 | 7 | #include <dt-bindings/input/input.h> |
---|
9 | 8 | #include <dt-bindings/interrupt-controller/irq.h> |
---|
10 | 9 | #include <dt-bindings/interrupt-controller/arm-gic.h> |
---|
11 | | -#include "skeleton.dtsi" |
---|
12 | 10 | |
---|
13 | 11 | / { |
---|
| 12 | + #address-cells = <1>; |
---|
| 13 | + #size-cells = <1>; |
---|
14 | 14 | interrupt-parent = <&gic>; |
---|
15 | 15 | |
---|
16 | 16 | aliases { |
---|
.. | .. |
---|
32 | 32 | }; |
---|
33 | 33 | }; |
---|
34 | 34 | |
---|
35 | | - mpcore { |
---|
| 35 | + mpcore@18310000 { |
---|
36 | 36 | compatible = "simple-bus"; |
---|
37 | 37 | ranges = <0x00000000 0x18310000 0x00008000>; |
---|
38 | 38 | #address-cells = <1>; |
---|
.. | .. |
---|
127 | 127 | |
---|
128 | 128 | pcie0: pcie@2000 { |
---|
129 | 129 | reg = <0x00002000 0x1000>; |
---|
| 130 | + |
---|
| 131 | + #address-cells = <3>; |
---|
| 132 | + #size-cells = <2>; |
---|
130 | 133 | }; |
---|
131 | 134 | |
---|
132 | 135 | usb2: usb2@4000 { |
---|
.. | .. |
---|
135 | 138 | #address-cells = <1>; |
---|
136 | 139 | #size-cells = <1>; |
---|
137 | 140 | |
---|
138 | | - ehci: ehci@4000 { |
---|
| 141 | + ehci: usb@4000 { |
---|
139 | 142 | compatible = "generic-ehci"; |
---|
140 | 143 | reg = <0x4000 0x1000>; |
---|
141 | 144 | interrupt-parent = <&gic>; |
---|
.. | .. |
---|
155 | 158 | }; |
---|
156 | 159 | }; |
---|
157 | 160 | |
---|
158 | | - ohci: ohci@d000 { |
---|
159 | | - #usb-cells = <0>; |
---|
160 | | - |
---|
| 161 | + ohci: usb@d000 { |
---|
161 | 162 | compatible = "generic-ohci"; |
---|
162 | 163 | reg = <0xd000 0x1000>; |
---|
163 | 164 | interrupt-parent = <&gic>; |
---|
.. | .. |
---|
180 | 181 | |
---|
181 | 182 | gmac0: ethernet@5000 { |
---|
182 | 183 | reg = <0x5000 0x1000>; |
---|
| 184 | + |
---|
| 185 | + mdio { |
---|
| 186 | + #address-cells = <1>; |
---|
| 187 | + #size-cells = <0>; |
---|
| 188 | + |
---|
| 189 | + switch: switch@1e { |
---|
| 190 | + compatible = "brcm,bcm53125"; |
---|
| 191 | + reg = <0x1e>; |
---|
| 192 | + |
---|
| 193 | + status = "disabled"; |
---|
| 194 | + |
---|
| 195 | + /* ports are defined in board DTS */ |
---|
| 196 | + ports { |
---|
| 197 | + #address-cells = <1>; |
---|
| 198 | + #size-cells = <0>; |
---|
| 199 | + }; |
---|
| 200 | + }; |
---|
| 201 | + }; |
---|
183 | 202 | }; |
---|
184 | 203 | |
---|
185 | 204 | gmac1: ethernet@b000 { |
---|