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

Ryan Chen ryan_chen at aspeedtech.com
Mon Jan 30 07:19:25 CET 2023


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 at 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 at 1e78a000 {
 				compatible = "simple-bus";
+				reg = <0x1e78a000 0x1000>;
 				#address-cells = <1>;
 				#size-cells = <1>;
 				ranges = <0 0x1e78a000 0x1000>;
-- 
2.34.1



More information about the U-Boot mailing list