Commit Graph

26 Commits

Author SHA1 Message Date
Joseph Chen b19cb16194 arm64: dts: rockchip: Update tcs425x to tcs4525 or tcs4526
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: Ieb3e514877099f1073475cd24b6319ba7db8543d
2023-02-15 18:39:02 +08:00
Jiajian Wu b74f371bac arm64: dts: rockchip: rk817 compatible to rockchip,multicodecs-card
Signed-off-by: Jiajian Wu <jair.wu@rock-chips.com>
Change-Id: I9a257915416b17a668d2e73642bdd4ed04748c71
2022-09-19 20:11:58 +08:00
Wu Liangqing c3942188fe arm64: dts: rockchip: io-domian all default set 3.3V for rk356x boards
io-domian  default as:
&pmu_io_domains {
     status = "okay";
     pmuio2-supply = <&vcc3v3_pmu>;
     vccio1-supply = <&vccio_acodec>;
     vccio3-supply = <&vccio_sd>;
     vccio4-supply = <&vcc_3v3>;
     vccio5-supply = <&vcc_3v3>;
     vccio6-supply = <&vcc_3v3>;
     vccio7-supply = <&vcc_3v3>;
};
TODO:
Need to be modified according to the actual hardware
for example rk3568-evb:
&pmu_io_domains {
     status = "okay";
     pmuio2-supply = <&vcc3v3_pmu>;
     vccio1-supply = <&vccio_acodec>;
     vccio3-supply = <&vccio_sd>;
     vccio4-supply = <&vcc_1v8>;
     vccio5-supply = <&vcc_3v3>;
     vccio6-supply = <&vcc_1v8>;
     vccio7-supply = <&vcc_3v3>;
};

Signed-off-by: Wu Liangqing <wlq@rock-chips.com>
Change-Id: I296a696851c2a85618d08cce82da546c72266699
2021-07-06 19:35:04 +08:00
Alex Zhao e5b8734cd5 arm64: dts: rockchip: rk356x board: give wifi some time after power-on.
Signed-off-by: Alex Zhao <zzc@rock-chips.com>
Change-Id: I29503ce3f328862361fda1c192aaff5d3b3781cb
2021-07-06 19:23:38 +08:00
Guochun Huang 0f20a27adc arm64: dts: rockchip: rk3568: rename mipi_dphy to video_phy
Signed-off-by: Guochun Huang <hero.huang@rock-chips.com>
Change-Id: Ie019c9d27e06328d45920d41c0a065f8bc47588f
2021-07-06 16:53:47 +08:00
Shawn Lin bae2dab105 arm64: dts: rockchip: remove all rockchip,txclk-tapnum for rk356x
We finally decide to set 16 for tx delay in driver, so no need for
dts to set it now.

Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
Change-Id: I642ed3039db5410ca478b255166d07a035e971aa
2021-06-15 11:18:36 +08:00
Elaine Zhang cf2e2135eb arm64: dts: rockchip: rk356x board: add init voltage for vdd_cpu
setting init voltage in uboot.

Change-Id: If1e23bb06790dcb3f9e4e9be4cc791cd394ca73a
Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>
2021-06-09 15:32:46 +08:00
Tao Huang eae9461bbd arm64: dts: rockchip: Fix the warnings caused by i2c_bus_reg
Fix the following warnings:
arch/arm64/boot/dts/rockchip/rk3566-evb2-lp4x-v10-eink.dts:274.18-285.4:
ERROR (i2c_bus_reg): /i2c@fe5c0000/wacom@09: I2C bus unit address format error, expected "9"
arch/arm64/boot/dts/rockchip/rk3566-rk817-eink.dts:551.18-562.4:
ERROR (i2c_bus_reg): /i2c@fe5b0000/wacom@09: I2C bus unit address format error, expected "9"
arch/arm64/boot/dts/rockchip/rk3566-rk817-eink.dts:678.17-690.4:
ERROR (i2c_bus_reg): /i2c@fe5e0000/kxtj3@0e: I2C bus unit address format error, expected "e"
arch/arm64/boot/dts/rockchip/rk3566-rk817-eink-w103.dts:698.18-710.4:
ERROR (i2c_bus_reg): /i2c@fe5a0000/wacom@09: I2C bus unit address format error, expected "9"

Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: Ia116424ecbb3285d77274ef19b6b93ef5f0f1480
2021-04-15 18:54:50 +08:00
Shawn Lin 78f9ac0daa treewide: Migrate rockchip dts file to use new host type tags
supports-* stuff were used for rockchip platforms to speed up booting
if we know what exactly the host was used for. As we have upstreamed all
these with some very similar ways, now it's the time we migrate our dts
files to use new properties.

They were converted by:

sed -i "s/supports-emmc;/no-sdio;\n\tno-sd;/g" `grep supports-emmc -rl arch/*`
sed -i "s/supports-sd;/no-sdio;\n\tno-mmc;/g" `grep supports-sd -rl arch/*`
sed -i "s/supports-sdio;/no-sd;\n\tno-mmc;/g" `grep supports-sdio -rl arch/*`

Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
Change-Id: I33e5317ee5c7305803cf18ff4a370658abf555b0
2021-04-13 14:40:36 +08:00
Tao Huang 77bcbf172b arm64: dts: rockchip: bulk convert gpios to their constant counterparts (v2)
According to upstream commit d64420e816 ("arm64: dts: rockchip:
bulk convert gpios to their constant counterparts") replace
RK_FUNC_x -> x and RK_GPIOx -> x.

sed -i -e "
/rockchip,pins *=/bcheck
b # to end of script
:append-next-line
N
:check
/^[^;]*$/bappend-next-line
s/<RK_GPIO\([0-9]\) /<\1 /g
s/<\([^ ][^ ]*  *\)0 /<\1RK_PA0 /g
s/<\([^ ][^ ]*  *\)1 /<\1RK_PA1 /g
s/<\([^ ][^ ]*  *\)2 /<\1RK_PA2 /g
s/<\([^ ][^ ]*  *\)3 /<\1RK_PA3 /g
s/<\([^ ][^ ]*  *\)4 /<\1RK_PA4 /g
s/<\([^ ][^ ]*  *\)5 /<\1RK_PA5 /g
s/<\([^ ][^ ]*  *\)6 /<\1RK_PA6 /g
s/<\([^ ][^ ]*  *\)7 /<\1RK_PA7 /g
s/<\([^ ][^ ]*  *\)8 /<\1RK_PB0 /g
s/<\([^ ][^ ]*  *\)9 /<\1RK_PB1 /g
s/<\([^ ][^ ]*  *\)10 /<\1RK_PB2 /g
s/<\([^ ][^ ]*  *\)11 /<\1RK_PB3 /g
s/<\([^ ][^ ]*  *\)12 /<\1RK_PB4 /g
s/<\([^ ][^ ]*  *\)13 /<\1RK_PB5 /g
s/<\([^ ][^ ]*  *\)14 /<\1RK_PB6 /g
s/<\([^ ][^ ]*  *\)15 /<\1RK_PB7 /g
s/<\([^ ][^ ]*  *\)16 /<\1RK_PC0 /g
s/<\([^ ][^ ]*  *\)17 /<\1RK_PC1 /g
s/<\([^ ][^ ]*  *\)18 /<\1RK_PC2 /g
s/<\([^ ][^ ]*  *\)19 /<\1RK_PC3 /g
s/<\([^ ][^ ]*  *\)20 /<\1RK_PC4 /g
s/<\([^ ][^ ]*  *\)21 /<\1RK_PC5 /g
s/<\([^ ][^ ]*  *\)22 /<\1RK_PC6 /g
s/<\([^ ][^ ]*  *\)23 /<\1RK_PC7 /g
s/<\([^ ][^ ]*  *\)24 /<\1RK_PD0 /g
s/<\([^ ][^ ]*  *\)25 /<\1RK_PD1 /g
s/<\([^ ][^ ]*  *\)26 /<\1RK_PD2 /g
s/<\([^ ][^ ]*  *\)27 /<\1RK_PD3 /g
s/<\([^ ][^ ]*  *\)28 /<\1RK_PD4 /g
s/<\([^ ][^ ]*  *\)29 /<\1RK_PD5 /g
s/<\([^ ][^ ]*  *\)30 /<\1RK_PD6 /g
s/<\([^ ][^ ]*  *\)31 /<\1RK_PD7 /g
s/<\([^ ][^ ]*  *[^ ][^ ]*  *\)0 /<\1RK_FUNC_GPIO /g
s/<\([^ ][^ ]*  *[^ ][^ ]*  *\)RK_FUNC_\([1-9]\) /<\1\2 /g
" *.dts *.dtsi

Change-Id: I789e702620a4d0331d54474d48aaf68133795859
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
2021-03-25 20:30:22 +08:00
Sugar Zhang d32dcf7014 arm64: dts: rockchip: rk356x: Change to use I2Sx_MCLKOUT
This patch changes to use I2Sx_MCLKOUT, and Fix its parent
assignment.

Change-Id: I584da197cebdb3846eefc463e336cd6998db2325
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
2021-03-11 12:08:29 +08:00
shengfei Xu c3e41f4836 arm64: dts: rockchip: add not-save-power-en for rk3566-rk817-eink
Signed-off-by: shengfei Xu <xsf@rock-chips.com>
Change-Id: Ic9cd6f7b1271ef71294068604af4bee3ed0a665b
2021-02-23 10:00:24 +08:00
Zorro Liu 0022edf158 arm64: dts: rockchip: rk3566 eink: add vir_width/vir_height for eink panel and remove gpu opp detele note
Signed-off-by: Zorro Liu <lyx@rock-chips.com>
Change-Id: Ica99525fd947d9e33eecb3858552e5b6ab1df166
2021-02-22 18:47:53 +08:00
Sugar Zhang 3f6ca46bfc arm64: dts: rockchip: rk356x: Correct inputclkfs for hdmi audio
Change-Id: I7669c77bba4ffc3360a3d1428408ac03d4bbaf9f
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
2021-02-21 18:21:03 +08:00
Weixin Zhou 60b3c1ee24 arm64: dts: rockchip: rk3566-eink: add gate_function_disable
Signed-off-by: Weixin Zhou <zwx@rock-chips.com>
Change-Id: Ie2dc6f405d5c186e041c0e08608a259a579e8c0b
2021-01-28 16:12:50 +08:00
Zorro Liu 37bfc5ea16 arm64: dts: rockchip: rk3566 eink: delete no use panel,direct_mode defined
Signed-off-by: Zorro Liu <lyx@rock-chips.com>
Change-Id: I292f7258db938c7761c4c23a46693dceced0e8d6
2021-01-27 17:41:51 +08:00
Zorro Liu 9de289947d arm64: dts: rockchip: rk3566-eink: add int pin for tps65185
Signed-off-by: Zorro Liu <lyx@rock-chips.com>
Change-Id: I923d0441d9155d477e742b54e4f66a0060be77ef
2021-01-26 09:19:57 +08:00
Zorro Liu 62b07bb1b2 arm64: dts: rockchip: modify tp direction for rk3566 eink boards
Signed-off-by: Zorro Liu <lyx@rock-chips.com>
Change-Id: I3172c04a02f9c55578aee3c315ffc76839bcb04f
2021-01-11 14:15:32 +08:00
Zorro Liu 66c5822355 arm64: dts: rockchip: add rk3566-eink.dtsi
Signed-off-by: Zorro Liu <lyx@rock-chips.com>
Change-Id: Idc8b628b33b039d2c485ece50094e3a3b2185e75
2020-12-31 09:15:11 +08:00
Liang Chen f6773f97c2 arm64: dts: rockchip: correct root compatible for rk3566 board
Change-Id: I57b9e45b4b5b02e8e0511d1d90a0a57c8f139749
Signed-off-by: Liang Chen <cl@rock-chips.com>
2020-12-29 18:05:01 +08:00
Weixin Zhou 0449e66bd5 arm64: dts: rockchip: Adjust tx phase to 0x8 for rk3566 tablet
Signed-off-by: Weixin Zhou <zwx@rock-chips.com>
Change-Id: Iab71da05f6cd553d158100b5bddf53fe0028ac34
2020-12-21 09:41:58 +08:00
Zorro Liu 3016f5a8b5 arm64: dts: rockchip: add rk3566-evb2-lp4x-v10-eink.dts
Signed-off-by: Zorro Liu <lyx@rock-chips.com>
Change-Id: Ifa5d3fb3f707ef818ae6ea2ab14c1f3575c2f8ce
2020-12-10 14:48:19 +08:00
Liang Chen caeb5624bb arm64: dts: rockchip: adjust include file for rk356x board
Change-Id: I74ff7ae2017bd8e016cbbaec2a51d50412d3090c
Signed-off-by: Liang Chen <cl@rock-chips.com>
2020-12-05 14:36:55 +08:00
Wu Liangqing 54592961d7 arm64: dts: rockchip: fix uart1 pinctrl error for rk3566 boards
Change-Id: I429ad6918c1522d11be3b9827f72fafa4e836b02
Signed-off-by: Wu Liangqing <wlq@rock-chips.com>
2020-12-02 19:07:36 +08:00
Jianqun Xu 1c085731f3 arm64: dts: rockchip: re-generate rk3568-pinctrl.dtsi by tool
This patch to generate the rk3568-pinctrl.dtsi again by pin2dts tool
which has been updated with some bugs fixed, such as lack of comment
for some nodes.

Now the pin2dts can generate the auto part of pinctrl file absolutely,
changes including:

* file header

/SPDX-License head
/#include <something>
&pinctrl {

};

* full rules

make the auto part can be generated by rules without any handly modify
special case: pwm4 which may be matched as pw-m4, that means the module
is pw and its mux mode is m4.

Change-Id: Ia92668ab938c1c05dfe430cf67b6f73bafaa31c3
Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>
2020-11-26 15:32:07 +08:00
Wenping Zhang baf00edd1f arm64: dts: rockchip: add rk3566-rk817-eink.dts.
Signed-off-by: Wenping Zhang <wenping.zhang@rock-chips.com>
Change-Id: I3523e2aa3214ae231dadff2bcabbc1f651fa1fca
2020-11-24 16:29:47 +08:00