Commit Graph

13 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
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
Tao Huang c060abdb52 arm64: dts: rockchip: Remove swiotlb=1
Which is no longer needed after commit
b67a8b29df ("arm64: mm: only initialize swiotlb when necessary").

Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: If1afd62f81b37f81cfdfc9bb4ef95e753b2006c4
2021-03-02 17:33:40 +08:00
Weixin Zhou 7149f2cbf0 arm64: dts: rockchip: rk3399pro-npu-evb-v10: fix power key
Change-Id: I71e009e12e6a1acbb1d2406ca12192b04e538c37
Signed-off-by: Weixin Zhou <zwx@rock-chips.com>
2018-10-30 17:42:28 +08:00
Jianqun Xu 9b42342030 arm64: dts: rockchip: fix suspend-voltage-selector to HIGH for rk3399pro-npu-evb
Change-Id: Ia6f890a7ed249114dbd62f7b1652ea29b410c658
Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>
2018-10-30 16:23:29 +08:00
Jianqun Xu 81a65efd5c arm64: dts: rockchip: fix hw-tshut-polarity to HIGH for rk3399pro-npu-evb
Change-Id: I5db079860ecc0560f3aceb2da70c3c0bf1982e4a
Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>
2018-10-29 20:19:13 +08:00
Jianqun Xu 099fbe8812 arm64: dts: rockchip: rk3399pro-npu set armclk to 1200MHz
Set cpu clock to 1.2GHz and  vdd_cpu fixed to 0.85v by hardware.

Change-Id: Ib3d537a4ec4e419b36140d556771b3ba041dc24e
Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>
2018-10-29 20:05:01 +08:00
Zorro Liu 8c1dc1fd11 arm64: dts: rockchip: enable tsadc for rk3399pro-npu-evb-v10 board
Change-Id: Ia631e7bb364703c2a861f2815282cc5e8d96f69d
Signed-off-by: Zorro Liu <lyx@rock-chips.com>
2018-10-29 15:55:40 +08:00
Tao Huang 571c22940d amr64: dts: rockchip: add tcs452x dcdc for RK3399Pro-npu
Change-Id: Ifcd432290d24d9d6b252220803af7a29e5ffe5b4
Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>
2018-10-29 11:53:30 +08:00
Zorro Liu 8a25b28224 arm64: dts: rockchip: update usb3 configs for rk3399pro-npu
Change-Id: I1700402cb53c77cba9b05c2e541091be96ef146e
Signed-off-by: Zorro Liu <lyx@rock-chips.com>
2018-10-23 10:01:46 +08:00
Zorro Liu e43c7f22aa arm64: dts: rockchip: update configs for rk3399pro-npu-evb-v10 board
1.add npu node
2.fix fiq interrupt num
3.add usb otg
...

Change-Id: I9c03a86f673e6dd98fadc89473ff8563769c38b8
Signed-off-by: Zorro Liu <lyx@rock-chips.com>
2018-10-16 15:44:33 +08:00
Zorro Liu 926e96cc56 arm64: dts: rockchip: update some configs for rk3399pro-npu
- psci
- usbdrd3
- qos
- cru
- pd
...

Change-Id: I9a5292d0082b165960a97bdaa19bf947cc330e25
Signed-off-by: Zorro Liu <lyx@rock-chips.com>
2018-10-16 15:44:33 +08:00
Zorro Liu 33f6d1bdc9 arm64: dts: rockchip: add rk3399pro npu evb board file
Change-Id: I3db38258c857c8a263bc89bea0d5cbb871227d96
Signed-off-by: Zorro Liu <lyx@rock-chips.com>
2018-09-30 14:51:21 +08:00