Skip to content

Commit 8b0c59c

Browse files
committed
Revert "ARM: dts: BCM5301X: define RTL8365MB switch on Asus RT-AC88U"
This reverts commit 3d2d52a, it caused a build regression: arch/arm/boot/dts/bcm47094-asus-rt-ac88u.dts:109.4-14: Warning (reg_format): /switch/ports:reg: property has invalid length (4 bytes) (#address-cells == 2, #size-cells == 1) arch/arm/boot/dts/bcm47094-asus-rt-ac88u.dtb: Warning (pci_device_reg): Failed prerequisite 'reg_format' arch/arm/boot/dts/bcm47094-asus-rt-ac88u.dtb: Warning (pci_device_bus_num): Failed prerequisite 'reg_format' arch/arm/boot/dts/bcm47094-asus-rt-ac88u.dtb: Warning (i2c_bus_reg): Failed prerequisite 'reg_format' arch/arm/boot/dts/bcm47094-asus-rt-ac88u.dtb: Warning (spi_bus_reg): Failed prerequisite 'reg_format' arch/arm/boot/dts/bcm47094-asus-rt-ac88u.dts:106.9-149.5: Warning (avoid_default_addr_size): /switch/ports: Relying on default #address-cells value arch/arm/boot/dts/bcm47094-asus-rt-ac88u.dts:106.9-149.5: Warning (avoid_default_addr_size): /switch/ports: Relying on default #size-cells value Reported-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
1 parent d8db5d8 commit 8b0c59c

1 file changed

Lines changed: 0 additions & 77 deletions

File tree

arch/arm/boot/dts/bcm47094-asus-rt-ac88u.dts

Lines changed: 0 additions & 77 deletions
Original file line numberDiff line numberDiff line change
@@ -93,83 +93,6 @@
9393
gpios = <&chipcommon 4 GPIO_ACTIVE_LOW>;
9494
};
9595
};
96-
97-
switch {
98-
compatible = "realtek,rtl8365mb";
99-
/* 7 = MDIO (has input reads), 6 = MDC (clock, output only) */
100-
mdc-gpios = <&chipcommon 6 GPIO_ACTIVE_HIGH>;
101-
mdio-gpios = <&chipcommon 7 GPIO_ACTIVE_HIGH>;
102-
reset-gpios = <&chipcommon 10 GPIO_ACTIVE_LOW>;
103-
realtek,disable-leds;
104-
dsa,member = <1 0>;
105-
106-
ports {
107-
#address-cells = <1>;
108-
#size-cells = <0>;
109-
reg = <0>;
110-
111-
port@0 {
112-
reg = <0>;
113-
label = "lan5";
114-
phy-handle = <&ethphy0>;
115-
};
116-
117-
port@1 {
118-
reg = <1>;
119-
label = "lan6";
120-
phy-handle = <&ethphy1>;
121-
};
122-
123-
port@2 {
124-
reg = <2>;
125-
label = "lan7";
126-
phy-handle = <&ethphy2>;
127-
};
128-
129-
port@3 {
130-
reg = <3>;
131-
label = "lan8";
132-
phy-handle = <&ethphy3>;
133-
};
134-
135-
port@6 {
136-
reg = <6>;
137-
label = "cpu";
138-
ethernet = <&sw0_p5>;
139-
phy-mode = "rgmii";
140-
tx-internal-delay-ps = <2000>;
141-
rx-internal-delay-ps = <2100>;
142-
143-
fixed-link {
144-
speed = <1000>;
145-
full-duplex;
146-
pause;
147-
};
148-
};
149-
};
150-
151-
mdio {
152-
compatible = "realtek,smi-mdio";
153-
#address-cells = <1>;
154-
#size-cells = <0>;
155-
156-
ethphy0: ethernet-phy@0 {
157-
reg = <0>;
158-
};
159-
160-
ethphy1: ethernet-phy@1 {
161-
reg = <1>;
162-
};
163-
164-
ethphy2: ethernet-phy@2 {
165-
reg = <2>;
166-
};
167-
168-
ethphy3: ethernet-phy@3 {
169-
reg = <3>;
170-
};
171-
};
172-
};
17396
};
17497

17598
&srab {

0 commit comments

Comments
 (0)