Skip to content

Commit 3ed75c5

Browse files
committed
Merge tag 'v5.9-rockchip-dts32-1' of git://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip into arm/dt
Biggest part is the addition of the rk3288 variant of the VMARC SOM and it's Rock Pi N8 icarnation. This brings some arm64 dts-changes with it as the underlying Dalang carrier board is shared by both an arm32 rk3288 SOM and an arm64 rk3399 SOM (Rock Pi N10). Other than that rk3288 gets its ohci node added that only works on the fixed rk3288w variant of the soc and some asorted fixes and improvements for dt-binding-check. * tag 'v5.9-rockchip-dts32-1' of git://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip: arm64: dts: rockchip: Add PCIe for RockPI N10 ARM: dts: rockchip: Add HDMI out for RockPI N8/N10 ARM: dts: rockchip: Add USB for RockPI N8/N10 ARM: dts: rockchip: Add usb host0 ohci node for rk3288 ARM: dts: rockchip: Fix VBUS on rk3288-vyasa ARM: dts: rockchip: Add Radxa Rock Pi N8 initial support ARM: dts: rockchip: Add VMARC RK3288 SOM initial support dt-bindings: arm: rockchip: Add Rock Pi N8 binding arm64: dts: rk3399pro: vmarc-som: Move common properties into Carrier arm64: dts: rk3399pro: vmarc-som: Move supply regulators into Carrier arm64: dts: rk3399pro: vmarc-som: Fix sorting nodes, properties ARM: dts: rockchip: dalang-carrier: Move i2c nodes into SOM ARM: dts: rockchip: Add 'arm,pl330-periph-burst' for dmac ARM: dts: rockchip: Add marvell BT irq config ARM: dts: rockchip: rename label and nodename pinctrl subnodes that end with gpio Link: https://lore.kernel.org/r/2472314.kD9Egx1jfM@phil Signed-off-by: Arnd Bergmann <[email protected]>
2 parents 571a9cf + 93ca8ac commit 3ed75c5

20 files changed

+640
-99
lines changed

Documentation/devicetree/bindings/arm/rockchip.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -435,6 +435,12 @@ properties:
435435
- const: radxa,rockpi4
436436
- const: rockchip,rk3399
437437

438+
- description: Radxa ROCK Pi N8
439+
items:
440+
- const: radxa,rockpi-n8
441+
- const: vamrs,rk3288-vmarc-som
442+
- const: rockchip,rk3288
443+
438444
- description: Radxa ROCK Pi N10
439445
items:
440446
- const: radxa,rockpi-n10

arch/arm/boot/dts/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -982,6 +982,7 @@ dtb-$(CONFIG_ARCH_ROCKCHIP) += \
982982
rk3288-popmetal.dtb \
983983
rk3288-r89.dtb \
984984
rk3288-rock2-square.dtb \
985+
rk3288-rock-pi-n8.dtb \
985986
rk3288-tinker.dtb \
986987
rk3288-tinker-s.dtb \
987988
rk3288-veyron-brain.dtb \

arch/arm/boot/dts/rk3036.dtsi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@
6767
<GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>;
6868
#dma-cells = <1>;
6969
arm,pl330-broken-no-flushp;
70+
arm,pl330-periph-burst;
7071
clocks = <&cru ACLK_DMAC2>;
7172
clock-names = "apb_pclk";
7273
};

arch/arm/boot/dts/rk322x.dtsi

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@
107107
interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>,
108108
<GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>;
109109
#dma-cells = <1>;
110+
arm,pl330-periph-burst;
110111
clocks = <&cru ACLK_DMAC>;
111112
clock-names = "apb_pclk";
112113
};
@@ -520,9 +521,9 @@
520521
resets = <&cru SRST_TSADC>;
521522
reset-names = "tsadc-apb";
522523
pinctrl-names = "init", "default", "sleep";
523-
pinctrl-0 = <&otp_gpio>;
524+
pinctrl-0 = <&otp_pin>;
524525
pinctrl-1 = <&otp_out>;
525-
pinctrl-2 = <&otp_gpio>;
526+
pinctrl-2 = <&otp_pin>;
526527
#thermal-sensor-cells = <0>;
527528
rockchip,hw-tshut-temp = <95000>;
528529
status = "disabled";
@@ -1111,7 +1112,7 @@
11111112
};
11121113

11131114
tsadc {
1114-
otp_gpio: otp-gpio {
1115+
otp_pin: otp-pin {
11151116
rockchip,pins = <0 RK_PD0 RK_FUNC_GPIO &pcfg_pull_none>;
11161117
};
11171118

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2+
/*
3+
* Copyright (c) 2019 Fuzhou Rockchip Electronics Co., Ltd
4+
* Copyright (c) 2019 Vamrs Limited
5+
* Copyright (c) 2019 Amarula Solutions(India)
6+
*/
7+
8+
/dts-v1/;
9+
#include "rk3288.dtsi"
10+
#include <arm/rockchip-radxa-dalang-carrier.dtsi>
11+
#include "rk3288-vmarc-som.dtsi"
12+
13+
/ {
14+
model = "Radxa ROCK Pi N8";
15+
compatible = "radxa,rockpi-n8", "vamrs,rk3288-vmarc-som",
16+
"rockchip,rk3288";
17+
};

arch/arm/boot/dts/rk3288-veyron-jaq.dts

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,25 @@
4444
};
4545
};
4646

47+
&sdio0 {
48+
#address-cells = <1>;
49+
#size-cells = <0>;
50+
51+
btmrvl: btmrvl@2 {
52+
compatible = "marvell,sd8897-bt";
53+
reg = <2>;
54+
interrupt-parent = <&gpio4>;
55+
interrupts = <RK_PD7 IRQ_TYPE_LEVEL_LOW>;
56+
marvell,wakeup-pin = /bits/ 16 <13>;
57+
pinctrl-names = "default";
58+
pinctrl-0 = <&bt_host_wake_l>;
59+
};
60+
};
61+
4762
&sdmmc {
4863
disable-wp;
4964
pinctrl-names = "default";
50-
pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_cd_disabled &sdmmc_cd_gpio
65+
pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_cd_disabled &sdmmc_cd_pin
5166
&sdmmc_bus4>;
5267
};
5368

arch/arm/boot/dts/rk3288-veyron-jerry.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@
192192
&sdmmc {
193193
disable-wp;
194194
pinctrl-names = "default";
195-
pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_cd_disabled &sdmmc_cd_gpio
195+
pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_cd_disabled &sdmmc_cd_pin
196196
&sdmmc_bus4>;
197197
};
198198

arch/arm/boot/dts/rk3288-veyron-mighty.dts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,16 +18,16 @@
1818
};
1919

2020
&sdmmc {
21-
pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_cd_disabled &sdmmc_cd_gpio
22-
&sdmmc_wp_gpio &sdmmc_bus4>;
21+
pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_cd_disabled &sdmmc_cd_pin
22+
&sdmmc_wp_pin &sdmmc_bus4>;
2323
wp-gpios = <&gpio7 10 GPIO_ACTIVE_HIGH>;
2424

2525
/delete-property/ disable-wp;
2626
};
2727

2828
&pinctrl {
2929
sdmmc {
30-
sdmmc_wp_gpio: sdmmc-wp-gpio {
30+
sdmmc_wp_pin: sdmmc-wp-pin {
3131
rockchip,pins = <7 RK_PB2 RK_FUNC_GPIO &pcfg_pull_up>;
3232
};
3333
};

arch/arm/boot/dts/rk3288-veyron-minnie.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@
114114
&sdmmc {
115115
disable-wp;
116116
pinctrl-names = "default";
117-
pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_cd_disabled &sdmmc_cd_gpio
117+
pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_cd_disabled &sdmmc_cd_pin
118118
&sdmmc_bus4>;
119119
};
120120

arch/arm/boot/dts/rk3288-veyron-pinky.dts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@
105105
};
106106

107107
sdmmc {
108-
sdmmc_wp_gpio: sdmmc-wp-gpio {
108+
sdmmc_wp_pin: sdmmc-wp-pin {
109109
rockchip,pins = <7 RK_PB2 RK_FUNC_GPIO &pcfg_pull_up>;
110110
};
111111
};
@@ -126,8 +126,8 @@
126126

127127
&sdmmc {
128128
pinctrl-names = "default";
129-
pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_cd_disabled &sdmmc_cd_gpio
130-
&sdmmc_wp_gpio &sdmmc_bus4>;
129+
pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_cd_disabled &sdmmc_cd_pin
130+
&sdmmc_wp_pin &sdmmc_bus4>;
131131
wp-gpios = <&gpio7 RK_PB2 GPIO_ACTIVE_HIGH>;
132132
};
133133

0 commit comments

Comments
 (0)