[PATCH v3 2/2] arm: aspeed: dtsi: add reg for i2c

Ryan Chen
2023-01-30T06:20:05Z

The i2c driver have global register that i2c bus use
ofnode_get_parent to get parent register address.

Signed-off-by: Ryan Chen <ryan_chen@aspeedtech.com>
---
arch/arm/dts/ast2600.dtsi | 1 +
1 file changed, 1 insertion(+)

diff --git a/arch/arm/dts/ast2600.dtsi b/arch/arm/dts/ast2600.dtsi
index 8d91eedc17..beabcf14f8 100644
--- a/arch/arm/dts/ast2600.dtsi
+++ b/arch/arm/dts/ast2600.dtsi
@@ -681,6 +681,7 @@

i2c: bus@1e78a000 {
compatible = "simple-bus";
+ reg = <0x1e78a000 0x1000>;
#address-cells = <1>;
#size-cells = <1>;
ranges = <0 0x1e78a000 0x1000>;
--
2.34.1