]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm: aspeed: dtsi: add reg for i2c
authorRyan Chen <ryan_chen@aspeedtech.com>
Mon, 30 Jan 2023 06:19:25 +0000 (14:19 +0800)
committerHeiko Schocher <hs@denx.de>
Mon, 13 Feb 2023 08:57:58 +0000 (09:57 +0100)
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>
Reviewed-by: Heiko Schocher <hs@denx.de>
arch/arm/dts/ast2600.dtsi

index 8d91eedc1765ab4101b6ca916607fc4aee4cc9c7..beabcf14f81d4c6104cd934169f1b882df1ed82b 100644 (file)
 
                        i2c: bus@1e78a000 {
                                compatible = "simple-bus";
+                               reg = <0x1e78a000 0x1000>;
                                #address-cells = <1>;
                                #size-cells = <1>;
                                ranges = <0 0x1e78a000 0x1000>;