diff --git a/arch/arm64/boot/dts/rockchip/rk3576-test1-v10-eink.dts b/arch/arm64/boot/dts/rockchip/rk3576-test1-v10-eink.dts index 8b4955f856ea..24afd925dcb0 100644 --- a/arch/arm64/boot/dts/rockchip/rk3576-test1-v10-eink.dts +++ b/arch/arm64/boot/dts/rockchip/rk3576-test1-v10-eink.dts @@ -8,65 +8,90 @@ #include "rk3576-test1.dtsi" #include "rk3576-android.dtsi" -#include "rk3576-eink.dtsi" / { model = "Rockchip RK3576 TEST1 V10 EINK Board"; compatible = "rockchip,rk3576-test1-v10", "rockchip,rk3576"; -}; -&ebc_dev { - pmic = <&sy7636a_pmic>; - status = "okay"; + reserved-memory { + #address-cells = <2>; + #size-cells = <2>; + ranges; - /* ED103TC2 panel */ - panel,width = <1872>; - panel,height = <1404>; - panel,vir_width = <1872>; - panel,vir_height = <1404>; - panel,sdck = <34000000>; - panel,lsl = <18>; - panel,lbl = <17>; - panel,ldl = <234>; - panel,lel = <7>; - panel,gdck-sta = <34>; - panel,lgonl = <192>; - panel,fsl = <1>; - panel,fbl = <4>; - panel,fdl = <1404>; - panel,fel = <12>; - panel,mirror = <1>; - panel,panel_16bit = <1>; - panel,panel_color = <0>; - panel,width-mm = <157>; - panel,height-mm = <210>; + /* + * 256 MB DDR offset CMA start + * 256 + 8 MB DDR offset waveform start + */ + waveform_reserved: waveform@50800000 { + reg = <0x0 0x50800000 0x0 0x100000>; + }; + + display_reserved: framebuffer@50900000 { + reg = <0x0 0x50900000 0x0 0x3800000>; + }; + }; + + ebc_dev: ebc-dev { + compatible = "rockchip,ebc-dev"; + ebc_tcon = <&ebc>; + memory-region = <&display_reserved>; + waveform-region = <&waveform_reserved>; + pmic = <&sy7636a_pmic>; + status = "okay"; + + /* ED103TC2 panel */ + panel,width = <1872>; + panel,height = <1404>; + panel,vir_width = <1872>; + panel,vir_height = <1404>; + panel,sdck = <34000000>; + panel,lsl = <18>; + panel,lbl = <17>; + panel,ldl = <234>; + panel,lel = <7>; + panel,gdck-sta = <34>; + panel,lgonl = <192>; + panel,fsl = <1>; + panel,fbl = <4>; + panel,fdl = <1404>; + panel,fel = <12>; + panel,mirror = <1>; + panel,panel_16bit = <1>; + panel,panel_color = <0>; + panel,width-mm = <157>; + panel,height-mm = <210>; #if 0 - /* EC103KH3 panel */ - panel,width = <2480>; - panel,height = <1860>; - panel,vir_width = <2496>; - panel,vir_height = <1944>; - panel,sdck = <60000000>; - panel,lsl = <12>; - panel,lbl = <13>; - panel,ldl = <312>; - panel,lel = <22>; - panel,gdck-sta = <1>; - panel,lgonl = <252>; - panel,fsl = <1>; - panel,fbl = <4>; - panel,fdl = <1944>; - panel,fel = <16>; - panel,mirror = <0>; - panel,panel_16bit = <1>; - panel,panel_color = <1>; - panel,sdoe_mode = <1>; - panel,sdce_width = <1>; - panel,width-mm = <166>; - panel,height-mm = <210>; - panel,disable_logo = <1>; + /* EC103KH3 panel */ + panel,width = <2480>; + panel,height = <1860>; + panel,vir_width = <2496>; + panel,vir_height = <1944>; + panel,sdck = <60000000>; + panel,lsl = <12>; + panel,lbl = <13>; + panel,ldl = <312>; + panel,lel = <22>; + panel,gdck-sta = <1>; + panel,lgonl = <252>; + panel,fsl = <1>; + panel,fbl = <4>; + panel,fdl = <1944>; + panel,fel = <16>; + panel,mirror = <0>; + panel,panel_16bit = <1>; + panel,panel_color = <1>; + panel,sdoe_mode = <1>; + panel,sdce_width = <1>; + panel,width-mm = <166>; + panel,height-mm = <210>; + panel,disable_logo = <1>; #endif + }; +}; + +&ebc { + status = "okay"; }; /*