From: Andreas Kemnade Date: Mon, 25 Jan 2021 19:08:04 +0000 (+0100) Subject: ARM: dts: imx6sl-tolino-shine2hd: Add Netronix embedded controller X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=7c040ba9e71b3f5c1977eac71b0aeed16be387e6;p=uclinux-h8%2Flinux.git ARM: dts: imx6sl-tolino-shine2hd: Add Netronix embedded controller For now, the driver detects an incompatible version, but since that can be handled by auto-detection, add the controller to the devicetree now. Only PWM seems to be available, there is no RTC in that controller. Signed-off-by: Andreas Kemnade Reviewed-by: Jonathan Neuschäfer Signed-off-by: Shawn Guo --- diff --git a/arch/arm/boot/dts/imx6sl-tolino-shine2hd.dts b/arch/arm/boot/dts/imx6sl-tolino-shine2hd.dts index 6ea5f918d059..a17b8bbbdb95 100644 --- a/arch/arm/boot/dts/imx6sl-tolino-shine2hd.dts +++ b/arch/arm/boot/dts/imx6sl-tolino-shine2hd.dts @@ -97,8 +97,11 @@ pinctrl-1 = <&pinctrl_i2c1_sleep>; status = "okay"; - /* TODO: embedded controller at 0x43 (driver missing) */ - + ec: embedded-controller@43 { + compatible = "netronix,ntxec"; + reg = <0x43>; + #pwm-cells = <2>; + }; }; &i2c2 {