]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ARM: dts: ast2600: Add I2C pinctrl
authorEddie James <eajames@linux.ibm.com>
Thu, 23 Jun 2022 05:10:31 +0000 (14:40 +0930)
committerTom Rini <trini@konsulko.com>
Wed, 6 Jul 2022 18:30:51 +0000 (14:30 -0400)
Set the pinctrl groups for each I2C bus. These are essential to
I2C operating correctly.

Signed-off-by: Eddie James <eajames@linux.ibm.com>
Reviewed-by: Ryan Chen <ryan_chen@aspeedtech.com>
Signed-off-by: Joel Stanley <joel@jms.id.au>
arch/arm/dts/ast2600.dtsi

index 64074309b7b2393d7b39ab8168eaabb0b73194ee..ef5b131ac0afb325e4dfc3b492ac63c2233cf7d4 100644 (file)
                bus-frequency = <100000>;
                interrupts = <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>;
                clocks = <&scu ASPEED_CLK_APB2>;
+               pinctrl-names = "default";
+               pinctrl-0 = <&pinctrl_i2c1_default>;
                status = "disabled";
        };
 
                bus-frequency = <100000>;
                interrupts = <GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH>;
                clocks = <&scu ASPEED_CLK_APB2>;
+               pinctrl-names = "default";
+               pinctrl-0 = <&pinctrl_i2c2_default>;
                status = "disabled";
        };
 
                bus-frequency = <100000>;
                interrupts = <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>;
                clocks = <&scu ASPEED_CLK_APB2>;
+               pinctrl-names = "default";
+               pinctrl-0 = <&pinctrl_i2c3_default>;
        };
 
        i2c3: i2c@200 {
                bus-frequency = <100000>;
                interrupts = <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>;
                clocks = <&scu ASPEED_CLK_APB2>;
+               pinctrl-names = "default";
+               pinctrl-0 = <&pinctrl_i2c4_default>;
        };
 
        i2c4: i2c@280 {
                bus-frequency = <100000>;
                interrupts = <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>;
                clocks = <&scu ASPEED_CLK_APB2>;
+               pinctrl-names = "default";
+               pinctrl-0 = <&pinctrl_i2c5_default>;
        };
 
        i2c5: i2c@300 {
                bus-frequency = <100000>;
                interrupts = <GIC_SPI 115 IRQ_TYPE_LEVEL_HIGH>;
                clocks = <&scu ASPEED_CLK_APB2>;
+               pinctrl-names = "default";
+               pinctrl-0 = <&pinctrl_i2c6_default>;
        };
 
        i2c6: i2c@380 {
                bus-frequency = <100000>;
                interrupts = <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>;
                clocks = <&scu ASPEED_CLK_APB2>;
+               pinctrl-names = "default";
+               pinctrl-0 = <&pinctrl_i2c7_default>;
        };
 
        i2c7: i2c@400 {
                bus-frequency = <100000>;
                interrupts = <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>;
                clocks = <&scu ASPEED_CLK_APB2>;
+               pinctrl-names = "default";
+               pinctrl-0 = <&pinctrl_i2c8_default>;
        };
 
        i2c8: i2c@480 {
                bus-frequency = <100000>;
                interrupts = <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>;
                clocks = <&scu ASPEED_CLK_APB2>;
+               pinctrl-names = "default";
+               pinctrl-0 = <&pinctrl_i2c9_default>;
        };
 
        i2c9: i2c@500 {
                bus-frequency = <100000>;
                interrupts = <GIC_SPI 119 IRQ_TYPE_LEVEL_HIGH>;
                clocks = <&scu ASPEED_CLK_APB2>;
+               pinctrl-names = "default";
+               pinctrl-0 = <&pinctrl_i2c10_default>;
                status = "disabled";
        };
 
                bus-frequency = <100000>;
                interrupts = <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>;
                clocks = <&scu ASPEED_CLK_APB2>;
+               pinctrl-names = "default";
+               pinctrl-0 = <&pinctrl_i2c11_default>;
                status = "disabled";
        };
 
                bus-frequency = <100000>;
                interrupts = <GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>;
                clocks = <&scu ASPEED_CLK_APB2>;
+               pinctrl-names = "default";
+               pinctrl-0 = <&pinctrl_i2c12_default>;
                status = "disabled";
        };
 
                bus-frequency = <100000>;
                interrupts = <GIC_SPI 122 IRQ_TYPE_LEVEL_HIGH>;
                clocks = <&scu ASPEED_CLK_APB2>;
+               pinctrl-names = "default";
+               pinctrl-0 = <&pinctrl_i2c13_default>;
                status = "disabled";
        };
 
                bus-frequency = <100000>;
                interrupts = <GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>;
                clocks = <&scu ASPEED_CLK_APB2>;
+               pinctrl-names = "default";
+               pinctrl-0 = <&pinctrl_i2c14_default>;
                status = "disabled";
        };
 
                bus-frequency = <100000>;
                interrupts = <GIC_SPI 124 IRQ_TYPE_LEVEL_HIGH>;
                clocks = <&scu ASPEED_CLK_APB2>;
+               pinctrl-names = "default";
+               pinctrl-0 = <&pinctrl_i2c15_default>;
                status = "disabled";
        };
 
                bus-frequency = <100000>;
                interrupts = <GIC_SPI 125 IRQ_TYPE_LEVEL_HIGH>;
                clocks = <&scu ASPEED_CLK_APB2>;
+               pinctrl-names = "default";
+               pinctrl-0 = <&pinctrl_i2c16_default>;
                status = "disabled";
        };
 
                function = "I2C1";
                groups = "I2C1";
        };
+
        pinctrl_i2c2_default: i2c2_default {
                function = "I2C2";
                groups = "I2C2";