mirror of
https://github.com/openwrt/openwrt.git
synced 2026-11-27 16:50:30 +04:00
realtek: dts: declare address cells for populated I2C buses
Declare #address-cells = <1> and #size-cells = <0> on I2C child buses that contain statically described devices. These properties are not inherited from the parent controller, so the single-cell device reg properties otherwise trigger i2c_bus_bridge and reg_format warnings. Assisted-by: ChatGPT (OpenAI GPT-6 Astra) Link: https://github.com/openwrt/openwrt/pull/26321 Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
This commit is contained in:
1 parent
a516fe3151
commit
ea80bab79c
9 files changed
+20
No files matched your search
@@ -85,6 +85,8 @@
|
||||
&i2c_mst1 {
|
||||
i2c1: i2c@1 {
|
||||
reg = <1>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
lm63@4c {
|
||||
compatible = "national,lm63";
|
||||
|
||||
@@ -192,6 +192,8 @@
|
||||
|
||||
i2c0: i2c@0 {
|
||||
reg = <0>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
pse: ethernet-pse@20 {
|
||||
compatible = "zyxel,xgs1930-28hp-pse", "realtek,pse-mcu-gen2-smbus";
|
||||
|
||||
@@ -131,6 +131,8 @@
|
||||
i2c3: i2c@3 { reg = <3>; };
|
||||
i2c4: i2c@4 {
|
||||
reg = <4>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
gpio1: gpio@21 {
|
||||
compatible = "nxp,pca9555";
|
||||
|
||||
@@ -22,6 +22,8 @@
|
||||
|
||||
i2c2: i2c@2 {
|
||||
reg = <2>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
lm63@4c {
|
||||
compatible = "national,lm63";
|
||||
|
||||
@@ -127,6 +127,8 @@
|
||||
|
||||
i2c@4 {
|
||||
reg = <4>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
adt7476@2e {
|
||||
compatible = "adi,adt7476";
|
||||
|
||||
@@ -196,6 +196,8 @@
|
||||
|
||||
i2c8: i2c@8 {
|
||||
reg = <8>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
adt7475@2e {
|
||||
compatible = "adi,adt7475";
|
||||
@@ -209,6 +211,8 @@
|
||||
|
||||
i2c5: i2c@5 {
|
||||
reg = <5>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
gpio1: gpio@22 {
|
||||
compatible = "nxp,pca9555";
|
||||
|
||||
@@ -169,6 +169,8 @@
|
||||
|
||||
i2c1_sda0: i2c@0 {
|
||||
reg = <0>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
fan_controller: fan-controller@48 {
|
||||
compatible = "maxim,max6651";
|
||||
|
||||
@@ -133,6 +133,8 @@
|
||||
|
||||
i2c11: i2c@b {
|
||||
reg = <0xb>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
gpio2: pca9555@20 {
|
||||
compatible = "nxp,pca9555";
|
||||
|
||||
@@ -101,6 +101,8 @@
|
||||
|
||||
i2c2: i2c@2 {
|
||||
reg = <2>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
lm96000: lm96000@2e {
|
||||
compatible = "national,lm85";
|
||||
|
||||
Reference in new issue
Block a user