ARM: dts: Add i2c0 pinctrl information for 98dx3236
authorChris Packham <chris.packham@alliedtelesis.co.nz>
Mon, 7 Sep 2020 21:17:12 +0000 (09:17 +1200)
committerGregory CLEMENT <gregory.clement@bootlin.com>
Sun, 29 Nov 2020 10:51:11 +0000 (11:51 +0100)
Add pinctrl information for the 98dx3236 (and variants). There is only
one choice for i2c0 MPP14 and MPP15.

Signed-off-by: Chris Packham <chris.packham@alliedtelesis.co.nz>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
arch/arm/boot/dts/armada-xp-98dx3236.dtsi

index aeccedd..38a052a 100644 (file)
 &i2c0 {
        compatible = "marvell,mv78230-i2c", "marvell,mv64xxx-i2c";
        reg = <0x11000 0x100>;
+       pinctrl-names = "default";
+       pinctrl-0 = <&i2c0_pins>;
 };
 
 &mpic {
                               "mpp2", "mpp3";
                marvell,function = "spi0";
        };
+
+       i2c0_pins: i2c-pins-0 {
+               marvell,pins = "mpp14", "mpp15";
+               marvell,function = "i2c0";
+       };
 };
 
 &spi0 {