Skip to content

Commit 5150c3d

Browse files
krzkConchuOD
authored andcommitted
arm64: dts: microchip: sparx5_pcb135: add missing I2C mux unit addresses
The children of I2C mux should be named "i2c", according to DT schema and bindings, and they should have unit address. This fixes dtbs_check warnings like: sparx5_pcb135.dtb: i2c0-imux@0: Unevaluated properties are not allowed ('#address-cells', '#size-cells', 'i2c_sfp1', 'i2c_sfp2', 'i2c_sfp3', 'i2c_sfp4' were unexpected) and dtc W=1 warnings: sparx5_pcb135_board.dtsi:172.23-180.4: Warning (simple_bus_reg): /axi@600000000/sfp-eth60: missing or empty reg/ranges property Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org> Reviewed-by: Steen Hegelund <Steen.Hegelund@microchip.com> Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
1 parent 9dcf4ec commit 5150c3d

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

arch/arm64/boot/dts/microchip/sparx5_pcb135_board.dtsi

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -146,22 +146,22 @@
146146
pinctrl-2 = <&i2cmux_s31>;
147147
pinctrl-3 = <&i2cmux_s32>;
148148
pinctrl-4 = <&i2cmux_pins_i>;
149-
i2c_sfp1: i2c_sfp1 {
149+
i2c_sfp1: i2c@0 {
150150
reg = <0x0>;
151151
#address-cells = <1>;
152152
#size-cells = <0>;
153153
};
154-
i2c_sfp2: i2c_sfp2 {
154+
i2c_sfp2: i2c@1 {
155155
reg = <0x1>;
156156
#address-cells = <1>;
157157
#size-cells = <0>;
158158
};
159-
i2c_sfp3: i2c_sfp3 {
159+
i2c_sfp3: i2c@2 {
160160
reg = <0x2>;
161161
#address-cells = <1>;
162162
#size-cells = <0>;
163163
};
164-
i2c_sfp4: i2c_sfp4 {
164+
i2c_sfp4: i2c@3 {
165165
reg = <0x3>;
166166
#address-cells = <1>;
167167
#size-cells = <0>;

0 commit comments

Comments
 (0)