[PATCH 1/2] rockchip: dts: tinker: move i2c node to shared device tree

Kever Yang kever.yang at rock-chips.com
Mon Sep 28 04:06:20 CEST 2020


On 2020/9/4 下午10:11, Stefan Agner wrote:
> The I2C EEPROM is present on Tinker Board S as well. Move the i2c node
> to the shared, U-Boot specific rk3288-tinker-u-boot.dtsi device tree.
>
> Cc: Jonas Karlman <jonas at kwiboo.se>
> Signed-off-by: Stefan Agner <stefan at agner.ch>


Reviewed-by: Kever Yang <kever.yang at rock-chips.com>


Thanks,

- Kever

> ---
>   arch/arm/dts/rk3288-tinker-u-boot.dtsi | 7 +++++++
>   arch/arm/dts/rk3288-tinker.dts         | 7 -------
>   2 files changed, 7 insertions(+), 7 deletions(-)
>
> diff --git a/arch/arm/dts/rk3288-tinker-u-boot.dtsi b/arch/arm/dts/rk3288-tinker-u-boot.dtsi
> index 732aa4f91f..56d10c82ec 100644
> --- a/arch/arm/dts/rk3288-tinker-u-boot.dtsi
> +++ b/arch/arm/dts/rk3288-tinker-u-boot.dtsi
> @@ -17,6 +17,13 @@
>   	rockchip,sdram-params = <0x20d266a4 0x5b6 2 533000000 6 9 0>;
>   };
>   
> +&i2c2 {
> +	m24c08 at 50 {
> +		compatible = "at,24c08", "i2c-eeprom";
> +		reg = <0x50>;
> +	};
> +};
> +
>   &pinctrl {
>   	u-boot,dm-pre-reloc;
>   };
> diff --git a/arch/arm/dts/rk3288-tinker.dts b/arch/arm/dts/rk3288-tinker.dts
> index 4b8405fd82..338670123b 100644
> --- a/arch/arm/dts/rk3288-tinker.dts
> +++ b/arch/arm/dts/rk3288-tinker.dts
> @@ -35,10 +35,3 @@
>   	vbus-supply = <&vcc5v0_host>;
>   	status = "okay";
>   };
> -
> -&i2c2 {
> -    m24c08 at 50 {
> -        compatible = "at,24c08", "i2c-eeprom";
> -        reg = <0x50>;
> -    };
> -};




More information about the U-Boot mailing list