diff options
| author | Markus Stockhausen | 2025-09-19 08:57:21 +0000 |
|---|---|---|
| committer | Robert Marko | 2025-09-19 11:51:50 +0000 |
| commit | fc9cf208c5ef56489dcc7664b4ba75223fc51607 (patch) | |
| tree | f900b9dabfe755ee37adbadfe471f32201e22304 | |
| parent | 41aaebad9854885f17fb4ee7ed6f0ecf5cb0e5c3 (diff) | |
| download | openwrt-fc9cf208c5ef56489dcc7664b4ba75223fc51607.tar.gz | |
realtek: fix dts warnings.
Currently following warnings are given
dts/rtl930x.dtsi:166.4-23: Warning (reg_format):
/switchcore@1b000000/i2c@36c:reg: property has invalid length
(8 bytes) (#address-cells == 2, #size-cells == 1)
Obviously default address-cells size is fixed to 64 bit. Align
with upstream and override address size to 32 bit.
Suggested-by: Jonas Jelonek <jelonek.jonas@gmail.com>
Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
Link: https://github.com/openwrt/openwrt/pull/20091
Signed-off-by: Robert Marko <robimarko@gmail.com>
| -rw-r--r-- | target/linux/realtek/dts/rtl838x.dtsi | 2 | ||||
| -rw-r--r-- | target/linux/realtek/dts/rtl839x.dtsi | 2 | ||||
| -rw-r--r-- | target/linux/realtek/dts/rtl930x.dtsi | 2 | ||||
| -rw-r--r-- | target/linux/realtek/dts/rtl931x.dtsi | 2 |
4 files changed, 8 insertions, 0 deletions
diff --git a/target/linux/realtek/dts/rtl838x.dtsi b/target/linux/realtek/dts/rtl838x.dtsi index 3b17c66c0b..ab81c49f8a 100644 --- a/target/linux/realtek/dts/rtl838x.dtsi +++ b/target/linux/realtek/dts/rtl838x.dtsi @@ -202,6 +202,8 @@ switchcore@1b000000 { compatible = "syscon", "simple-mfd"; reg = <0x1b000000 0x10000>; + #address-cells = <1>; + #size-cells = <1>; mdio_ctrl: mdio-controller { compatible = "realtek,rtl8380-mdio", "realtek,otto-mdio"; diff --git a/target/linux/realtek/dts/rtl839x.dtsi b/target/linux/realtek/dts/rtl839x.dtsi index 9eb4be8af8..6b4f4821a2 100644 --- a/target/linux/realtek/dts/rtl839x.dtsi +++ b/target/linux/realtek/dts/rtl839x.dtsi @@ -210,6 +210,8 @@ switchcore@1b000000 { compatible = "syscon", "simple-mfd"; reg = <0x1b000000 0x10000>; + #address-cells = <1>; + #size-cells = <1>; mdio_ctrl: mdio-controller { compatible = "realtek,rtl8392-mdio", "realtek,otto-mdio"; diff --git a/target/linux/realtek/dts/rtl930x.dtsi b/target/linux/realtek/dts/rtl930x.dtsi index 97bf6abe5d..ad06cef6cd 100644 --- a/target/linux/realtek/dts/rtl930x.dtsi +++ b/target/linux/realtek/dts/rtl930x.dtsi @@ -160,6 +160,8 @@ switchcore@1b000000 { compatible = "syscon", "simple-mfd"; reg = <0x1b000000 0x10000>; + #address-cells = <1>; + #size-cells = <1>; i2c_mst1: i2c@36c { compatible = "realtek,rtl9301-i2c"; diff --git a/target/linux/realtek/dts/rtl931x.dtsi b/target/linux/realtek/dts/rtl931x.dtsi index 352e9547f0..d7b789b9bb 100644 --- a/target/linux/realtek/dts/rtl931x.dtsi +++ b/target/linux/realtek/dts/rtl931x.dtsi @@ -190,6 +190,8 @@ switchcore@1b000000 { compatible = "syscon", "simple-mfd"; reg = <0x1b000000 0x10000>; + #address-cells = <1>; + #size-cells = <1>; i2c_mst1: i2c@100c { compatible = "realtek,rtl9310-i2c"; |