]> git.baikalelectronics.ru Git - uboot.git/commitdiff
ARM: dts: ast2600: Add I2C reset properties
authorJoel Stanley <joel@jms.id.au>
Thu, 23 Jun 2022 05:10:32 +0000 (14:40 +0930)
committerTom Rini <trini@konsulko.com>
Wed, 6 Jul 2022 18:30:51 +0000 (14:30 -0400)
The same as the upstream Linux device tree, each i2c bus has a property
specifying the reset line.

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

index ef5b131ac0afb325e4dfc3b492ac63c2233cf7d4..4b23d25ede0a5ded83b3530e97dcf6f9000c84ba 100644 (file)
                compatible = "aspeed,ast2600-i2c-bus";
                bus-frequency = <100000>;
                interrupts = <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>;
+               resets = <&rst ASPEED_RESET_I2C>;
                clocks = <&scu ASPEED_CLK_APB2>;
                pinctrl-names = "default";
                pinctrl-0 = <&pinctrl_i2c1_default>;
                compatible = "aspeed,ast2600-i2c-bus";
                bus-frequency = <100000>;
                interrupts = <GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH>;
+               resets = <&rst ASPEED_RESET_I2C>;
                clocks = <&scu ASPEED_CLK_APB2>;
                pinctrl-names = "default";
                pinctrl-0 = <&pinctrl_i2c2_default>;
                compatible = "aspeed,ast2600-i2c-bus";
                bus-frequency = <100000>;
                interrupts = <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>;
+               resets = <&rst ASPEED_RESET_I2C>;
                clocks = <&scu ASPEED_CLK_APB2>;
                pinctrl-names = "default";
                pinctrl-0 = <&pinctrl_i2c3_default>;
                compatible = "aspeed,ast2600-i2c-bus";
                bus-frequency = <100000>;
                interrupts = <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>;
+               resets = <&rst ASPEED_RESET_I2C>;
                clocks = <&scu ASPEED_CLK_APB2>;
                pinctrl-names = "default";
                pinctrl-0 = <&pinctrl_i2c4_default>;
                compatible = "aspeed,ast2600-i2c-bus";
                bus-frequency = <100000>;
                interrupts = <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>;
+               resets = <&rst ASPEED_RESET_I2C>;
                clocks = <&scu ASPEED_CLK_APB2>;
                pinctrl-names = "default";
                pinctrl-0 = <&pinctrl_i2c5_default>;
                compatible = "aspeed,ast2600-i2c-bus";
                bus-frequency = <100000>;
                interrupts = <GIC_SPI 115 IRQ_TYPE_LEVEL_HIGH>;
+               resets = <&rst ASPEED_RESET_I2C>;
                clocks = <&scu ASPEED_CLK_APB2>;
                pinctrl-names = "default";
                pinctrl-0 = <&pinctrl_i2c6_default>;
                compatible = "aspeed,ast2600-i2c-bus";
                bus-frequency = <100000>;
                interrupts = <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>;
+               resets = <&rst ASPEED_RESET_I2C>;
                clocks = <&scu ASPEED_CLK_APB2>;
                pinctrl-names = "default";
                pinctrl-0 = <&pinctrl_i2c7_default>;
                compatible = "aspeed,ast2600-i2c-bus";
                bus-frequency = <100000>;
                interrupts = <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>;
+               resets = <&rst ASPEED_RESET_I2C>;
                clocks = <&scu ASPEED_CLK_APB2>;
                pinctrl-names = "default";
                pinctrl-0 = <&pinctrl_i2c8_default>;
                compatible = "aspeed,ast2600-i2c-bus";
                bus-frequency = <100000>;
                interrupts = <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>;
+               resets = <&rst ASPEED_RESET_I2C>;
                clocks = <&scu ASPEED_CLK_APB2>;
                pinctrl-names = "default";
                pinctrl-0 = <&pinctrl_i2c9_default>;
                compatible = "aspeed,ast2600-i2c-bus";
                bus-frequency = <100000>;
                interrupts = <GIC_SPI 119 IRQ_TYPE_LEVEL_HIGH>;
+               resets = <&rst ASPEED_RESET_I2C>;
                clocks = <&scu ASPEED_CLK_APB2>;
                pinctrl-names = "default";
                pinctrl-0 = <&pinctrl_i2c10_default>;
                compatible = "aspeed,ast2600-i2c-bus";
                bus-frequency = <100000>;
                interrupts = <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>;
+               resets = <&rst ASPEED_RESET_I2C>;
                clocks = <&scu ASPEED_CLK_APB2>;
                pinctrl-names = "default";
                pinctrl-0 = <&pinctrl_i2c11_default>;
                compatible = "aspeed,ast2600-i2c-bus";
                bus-frequency = <100000>;
                interrupts = <GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>;
+               resets = <&rst ASPEED_RESET_I2C>;
                clocks = <&scu ASPEED_CLK_APB2>;
                pinctrl-names = "default";
                pinctrl-0 = <&pinctrl_i2c12_default>;
                compatible = "aspeed,ast2600-i2c-bus";
                bus-frequency = <100000>;
                interrupts = <GIC_SPI 122 IRQ_TYPE_LEVEL_HIGH>;
+               resets = <&rst ASPEED_RESET_I2C>;
                clocks = <&scu ASPEED_CLK_APB2>;
                pinctrl-names = "default";
                pinctrl-0 = <&pinctrl_i2c13_default>;
                compatible = "aspeed,ast2600-i2c-bus";
                bus-frequency = <100000>;
                interrupts = <GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>;
+               resets = <&rst ASPEED_RESET_I2C>;
                clocks = <&scu ASPEED_CLK_APB2>;
                pinctrl-names = "default";
                pinctrl-0 = <&pinctrl_i2c14_default>;
                compatible = "aspeed,ast2600-i2c-bus";
                bus-frequency = <100000>;
                interrupts = <GIC_SPI 124 IRQ_TYPE_LEVEL_HIGH>;
+               resets = <&rst ASPEED_RESET_I2C>;
                clocks = <&scu ASPEED_CLK_APB2>;
                pinctrl-names = "default";
                pinctrl-0 = <&pinctrl_i2c15_default>;
                compatible = "aspeed,ast2600-i2c-bus";
                bus-frequency = <100000>;
                interrupts = <GIC_SPI 125 IRQ_TYPE_LEVEL_HIGH>;
+               resets = <&rst ASPEED_RESET_I2C>;
                clocks = <&scu ASPEED_CLK_APB2>;
                pinctrl-names = "default";
                pinctrl-0 = <&pinctrl_i2c16_default>;