[PATCH 02/10] ARM: dts: ast2600: Add I2C reset properties
Ryan Chen
ryan_chen at aspeedtech.com
Tue Jun 21 07:31:44 CEST 2022
> -----Original Message-----
> From: joel.stan at gmail.com <joel.stan at gmail.com> On Behalf Of Joel Stanley
> Sent: Monday, June 20, 2022 3:25 PM
> To: Ryan Chen <ryan_chen at aspeedtech.com>; BMC-SW
> <BMC-SW at aspeedtech.com>; Heiko Schocher <hs at denx.de>
> Cc: u-boot at lists.denx.de; Cédric Le Goater <clg at kaod.org>
> Subject: [PATCH 02/10] ARM: dts: ast2600: Add I2C reset properties
>
> The same as the upstream Linux device tree, each i2c bus has a property
> specifying the reset line.
>
> Signed-off-by: Joel Stanley <joel at jms.id.au>
Reviewed-by: Ryan Chen <ryan_chen at aspeedtech.com>
> ---
> arch/arm/dts/ast2600.dtsi | 16 ++++++++++++++++
> 1 file changed, 16 insertions(+)
>
> diff --git a/arch/arm/dts/ast2600.dtsi b/arch/arm/dts/ast2600.dtsi index
> ef5b131ac0af..4b23d25ede0a 100644
> --- a/arch/arm/dts/ast2600.dtsi
> +++ b/arch/arm/dts/ast2600.dtsi
> @@ -832,6 +832,7 @@
> 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>;
> @@ -847,6 +848,7 @@
> 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>;
> @@ -862,6 +864,7 @@
> 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>;
> @@ -876,6 +879,7 @@
> 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>;
> @@ -890,6 +894,7 @@
> 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>;
> @@ -904,6 +909,7 @@
> 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>;
> @@ -918,6 +924,7 @@
> 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>;
> @@ -932,6 +939,7 @@
> 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>;
> @@ -946,6 +954,7 @@
> 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>;
> @@ -960,6 +969,7 @@
> 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>; @@ -975,6 +985,7 @@
> 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>; @@ -990,6 +1001,7 @@
> 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>; @@ -1005,6 +1017,7 @@
> 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>; @@ -1020,6 +1033,7 @@
> 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>; @@ -1035,6 +1049,7 @@
> 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>; @@ -1050,6 +1065,7 @@
> 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>;
> --
> 2.35.1
More information about the U-Boot
mailing list