forked from mirror/openwrt
realtek: dts: relocate/retype switch node
The switch node is currently located outside of the switchcore@1b000000 tree. This makes it hard to find when referencing from other nodes in this tree. Make it a subnode of switchcore and "retype" it to ethernet-switch like upstream does. This is not perfectly aligned as upstream just mixes the switchcore and the ethernet-switch node into one. But this will be future work for downstream. Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de> Link: https://github.com/openwrt/openwrt/pull/22236 Signed-off-by: Robert Marko <robert.marko@sartura.hr>
This commit is contained in:
parent
f5ec3f2df2
commit
4c92254fd3
4 changed files with 33 additions and 32 deletions
|
|
@ -274,6 +274,14 @@
|
||||||
compatible = "realtek,rtl8380-thermal";
|
compatible = "realtek,rtl8380-thermal";
|
||||||
#thermal-sensor-cells = <0>;
|
#thermal-sensor-cells = <0>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
switch0: ethernet-switch {
|
||||||
|
compatible = "realtek,rtl8380-switch", "realtek,otto-switch";
|
||||||
|
status = "okay";
|
||||||
|
|
||||||
|
interrupt-parent = <&intc>;
|
||||||
|
interrupts = <20 2>;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
pinmux@1b000144 {
|
pinmux@1b000144 {
|
||||||
|
|
@ -354,13 +362,6 @@
|
||||||
ranges = <0 0x9f000000 0x10000>;
|
ranges = <0 0x9f000000 0x10000>;
|
||||||
};
|
};
|
||||||
|
|
||||||
switch0: switch@1b000000 {
|
|
||||||
compatible = "realtek,rtl8380-switch", "realtek,otto-switch";
|
|
||||||
|
|
||||||
interrupt-parent = <&intc>;
|
|
||||||
interrupts = <20 2>;
|
|
||||||
};
|
|
||||||
|
|
||||||
thermal_zones: thermal-zones {
|
thermal_zones: thermal-zones {
|
||||||
cpu-thermal {
|
cpu-thermal {
|
||||||
polling-delay-passive = <1000>;
|
polling-delay-passive = <1000>;
|
||||||
|
|
|
||||||
|
|
@ -306,6 +306,14 @@
|
||||||
compatible = "realtek,rtl8390-thermal";
|
compatible = "realtek,rtl8390-thermal";
|
||||||
#thermal-sensor-cells = <0>;
|
#thermal-sensor-cells = <0>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
switch0: ethernet-switch {
|
||||||
|
compatible = "realtek,rtl8392-switch", "realtek,otto-switch";
|
||||||
|
status = "okay";
|
||||||
|
|
||||||
|
interrupt-parent = <&intc>;
|
||||||
|
interrupts = <20 2>;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
pinmux@1b000004 {
|
pinmux@1b000004 {
|
||||||
|
|
@ -355,14 +363,6 @@
|
||||||
ranges = <0 0x9f000000 0x18000>;
|
ranges = <0 0x9f000000 0x18000>;
|
||||||
};
|
};
|
||||||
|
|
||||||
switch0: switch@1b000000 {
|
|
||||||
status = "okay";
|
|
||||||
compatible = "realtek,rtl8392-switch", "realtek,otto-switch";
|
|
||||||
|
|
||||||
interrupt-parent = <&intc>;
|
|
||||||
interrupts = <20 2>;
|
|
||||||
};
|
|
||||||
|
|
||||||
thermal_zones: thermal-zones {
|
thermal_zones: thermal-zones {
|
||||||
cpu-thermal {
|
cpu-thermal {
|
||||||
polling-delay-passive = <1000>;
|
polling-delay-passive = <1000>;
|
||||||
|
|
|
||||||
|
|
@ -289,6 +289,14 @@
|
||||||
compatible = "realtek,rtl9300-thermal";
|
compatible = "realtek,rtl9300-thermal";
|
||||||
#thermal-sensor-cells = <0>;
|
#thermal-sensor-cells = <0>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
switch0: switch@1b000000 {
|
||||||
|
compatible = "realtek,rtl9301-switch", "realtek,otto-switch";
|
||||||
|
status = "okay";
|
||||||
|
|
||||||
|
interrupt-parent = <&intc>;
|
||||||
|
interrupts = <23 2>;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
pinmux@1b000200 {
|
pinmux@1b000200 {
|
||||||
|
|
@ -358,14 +366,6 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
switch0: switch@1b000000 {
|
|
||||||
compatible = "realtek,rtl9301-switch", "realtek,otto-switch";
|
|
||||||
status = "okay";
|
|
||||||
|
|
||||||
interrupt-parent = <&intc>;
|
|
||||||
interrupts = <23 2>;
|
|
||||||
};
|
|
||||||
|
|
||||||
thermal_zones: thermal-zones {
|
thermal_zones: thermal-zones {
|
||||||
cpu-thermal {
|
cpu-thermal {
|
||||||
polling-delay-passive = <1000>;
|
polling-delay-passive = <1000>;
|
||||||
|
|
|
||||||
|
|
@ -325,6 +325,15 @@
|
||||||
reg = <13>;
|
reg = <13>;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
switch0: switch@1b000000 {
|
||||||
|
compatible = "realtek,rtl9311-switch", "realtek,otto-switch";
|
||||||
|
status = "okay";
|
||||||
|
|
||||||
|
interrupt-parent = <&gic>;
|
||||||
|
#interrupt-cells = <3>;
|
||||||
|
interrupts = <GIC_SHARED 15 IRQ_TYPE_LEVEL_HIGH>;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
pinmux@1b00103c {
|
pinmux@1b00103c {
|
||||||
|
|
@ -419,13 +428,4 @@
|
||||||
pinctrl-single,bits = <0x0 0x100 0x100>;
|
pinctrl-single,bits = <0x0 0x100 0x100>;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
switch0: switch@1b000000 {
|
|
||||||
compatible = "realtek,rtl9311-switch", "realtek,otto-switch";
|
|
||||||
status = "okay";
|
|
||||||
|
|
||||||
interrupt-parent = <&gic>;
|
|
||||||
#interrupt-cells = <3>;
|
|
||||||
interrupts = <GIC_SHARED 15 IRQ_TYPE_LEVEL_HIGH>;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue