diff mbox series

[02/16] rockchip: rk3308: Remove redundant device tree files

Message ID 20240504194346.2462489-3-jonas@kwiboo.se
State Accepted
Delegated to: Kever Yang
Headers show
Series rockchip: Migrate RK3308, RK3328, RK356x and RK3588 to OF_UPSTREAM | expand

Commit Message

Jonas Karlman May 4, 2024, 7:42 p.m. UTC
Remove redundant device tree files now that RK3308 boards have been
migrated to use OF_UPSTREAM.

Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
---
 arch/arm/dts/rk3308-evb.dts            |  230 ---
 arch/arm/dts/rk3308-roc-cc.dts         |  190 ---
 arch/arm/dts/rk3308-rock-pi-s.dts      |  314 ----
 arch/arm/dts/rk3308.dtsi               | 1888 ------------------------
 include/dt-bindings/clock/rk3308-cru.h |  387 -----
 5 files changed, 3009 deletions(-)
 delete mode 100644 arch/arm/dts/rk3308-evb.dts
 delete mode 100644 arch/arm/dts/rk3308-roc-cc.dts
 delete mode 100644 arch/arm/dts/rk3308-rock-pi-s.dts
 delete mode 100644 arch/arm/dts/rk3308.dtsi
 delete mode 100644 include/dt-bindings/clock/rk3308-cru.h

Comments

Kever Yang May 7, 2024, 3:30 a.m. UTC | #1
On 2024/5/5 03:42, Jonas Karlman wrote:
> Remove redundant device tree files now that RK3308 boards have been
> migrated to use OF_UPSTREAM.
>
> Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>

Thanks,
- Kever
> ---
>   arch/arm/dts/rk3308-evb.dts            |  230 ---
>   arch/arm/dts/rk3308-roc-cc.dts         |  190 ---
>   arch/arm/dts/rk3308-rock-pi-s.dts      |  314 ----
>   arch/arm/dts/rk3308.dtsi               | 1888 ------------------------
>   include/dt-bindings/clock/rk3308-cru.h |  387 -----
>   5 files changed, 3009 deletions(-)
>   delete mode 100644 arch/arm/dts/rk3308-evb.dts
>   delete mode 100644 arch/arm/dts/rk3308-roc-cc.dts
>   delete mode 100644 arch/arm/dts/rk3308-rock-pi-s.dts
>   delete mode 100644 arch/arm/dts/rk3308.dtsi
>   delete mode 100644 include/dt-bindings/clock/rk3308-cru.h
>
> diff --git a/arch/arm/dts/rk3308-evb.dts b/arch/arm/dts/rk3308-evb.dts
> deleted file mode 100644
> index 184b84fdde07..000000000000
> --- a/arch/arm/dts/rk3308-evb.dts
> +++ /dev/null
> @@ -1,230 +0,0 @@
> -// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
> -/*
> - * Copyright (c) 2019 Fuzhou Rockchip Electronics Co., Ltd
> - *
> - */
> -
> -/dts-v1/;
> -#include <dt-bindings/input/input.h>
> -#include "rk3308.dtsi"
> -
> -/ {
> -	model = "Rockchip RK3308 EVB";
> -	compatible = "rockchip,rk3308-evb", "rockchip,rk3308";
> -
> -	chosen {
> -		stdout-path = "serial4:1500000n8";
> -	};
> -
> -	adc-keys0 {
> -		compatible = "adc-keys";
> -		io-channels = <&saradc 0>;
> -		io-channel-names = "buttons";
> -		poll-interval = <100>;
> -		keyup-threshold-microvolt = <1800000>;
> -
> -		button-func {
> -			linux,code = <KEY_FN>;
> -			label = "function";
> -			press-threshold-microvolt = <18000>;
> -		};
> -	};
> -
> -	adc-keys1 {
> -		compatible = "adc-keys";
> -		io-channels = <&saradc 1>;
> -		io-channel-names = "buttons";
> -		poll-interval = <100>;
> -		keyup-threshold-microvolt = <1800000>;
> -
> -		button-esc {
> -			linux,code = <KEY_MICMUTE>;
> -			label = "micmute";
> -			press-threshold-microvolt = <1130000>;
> -		};
> -
> -		button-home {
> -			linux,code = <KEY_MODE>;
> -			label = "mode";
> -			press-threshold-microvolt = <901000>;
> -		};
> -
> -		button-menu {
> -			linux,code = <KEY_PLAY>;
> -			label = "play";
> -			press-threshold-microvolt = <624000>;
> -		};
> -
> -		button-down {
> -			linux,code = <KEY_VOLUMEDOWN>;
> -			label = "volume down";
> -			press-threshold-microvolt = <300000>;
> -		};
> -
> -		button-up {
> -			linux,code = <KEY_VOLUMEUP>;
> -			label = "volume up";
> -			press-threshold-microvolt = <18000>;
> -		};
> -	};
> -
> -	gpio-keys {
> -		compatible = "gpio-keys";
> -		autorepeat;
> -
> -		pinctrl-names = "default";
> -		pinctrl-0 = <&pwr_key>;
> -
> -		key-power {
> -			gpios = <&gpio0 RK_PA6 GPIO_ACTIVE_LOW>;
> -			linux,code = <KEY_POWER>;
> -			label = "GPIO Key Power";
> -			debounce-interval = <100>;
> -			wakeup-source;
> -		};
> -	};
> -
> -	vcc12v_dcin: vcc12v-dcin {
> -		compatible = "regulator-fixed";
> -		regulator-name = "vcc12v_dcin";
> -		regulator-min-microvolt = <12000000>;
> -		regulator-max-microvolt = <12000000>;
> -		regulator-always-on;
> -		regulator-boot-on;
> -	};
> -
> -	vcc5v0_sys: vcc5v0-sys {
> -		compatible = "regulator-fixed";
> -		regulator-name = "vcc5v0_sys";
> -		regulator-min-microvolt = <5000000>;
> -		regulator-max-microvolt = <5000000>;
> -		regulator-always-on;
> -		regulator-boot-on;
> -		vin-supply = <&vcc12v_dcin>;
> -	};
> -
> -	vccio_sdio: vcc_1v8: vcc-1v8 {
> -		compatible = "regulator-fixed";
> -		regulator-name = "vcc_1v8";
> -		regulator-min-microvolt = <1800000>;
> -		regulator-max-microvolt = <1800000>;
> -		regulator-always-on;
> -		regulator-boot-on;
> -		vin-supply = <&vcc_io>;
> -	};
> -
> -	vcc_ddr: vcc-ddr {
> -		compatible = "regulator-fixed";
> -		regulator-name = "vcc_ddr";
> -		regulator-min-microvolt = <1500000>;
> -		regulator-max-microvolt = <1500000>;
> -		regulator-always-on;
> -		regulator-boot-on;
> -		vin-supply = <&vcc5v0_sys>;
> -	};
> -
> -	vcc_io: vcc-io {
> -		compatible = "regulator-fixed";
> -		regulator-name = "vcc_io";
> -		regulator-min-microvolt = <3300000>;
> -		regulator-max-microvolt = <3300000>;
> -		regulator-always-on;
> -		regulator-boot-on;
> -		vin-supply = <&vcc5v0_sys>;
> -	};
> -
> -	vccio_flash: vccio-flash {
> -		compatible = "regulator-fixed";
> -		regulator-name = "vccio_flash";
> -		regulator-min-microvolt = <3300000>;
> -		regulator-max-microvolt = <3300000>;
> -		regulator-always-on;
> -		regulator-boot-on;
> -		vin-supply = <&vcc_io>;
> -	};
> -
> -	vcc5v0_host: vcc5v0-host {
> -		compatible = "regulator-fixed";
> -		gpio = <&gpio0 RK_PC5 GPIO_ACTIVE_HIGH>;
> -		enable-active-high;
> -		pinctrl-names = "default";
> -		pinctrl-0 = <&usb_drv>;
> -		regulator-name = "vbus_host";
> -		vin-supply = <&vcc5v0_sys>;
> -	};
> -
> -	vdd_core: vdd-core {
> -		compatible = "pwm-regulator";
> -		pwms = <&pwm0 0 5000 1>;
> -		regulator-name = "vdd_core";
> -		regulator-min-microvolt = <827000>;
> -		regulator-max-microvolt = <1340000>;
> -		regulator-always-on;
> -		regulator-boot-on;
> -		regulator-settling-time-up-us = <250>;
> -		pwm-supply = <&vcc5v0_sys>;
> -	};
> -
> -	vdd_log: vdd-log {
> -		compatible = "regulator-fixed";
> -		regulator-name = "vdd_log";
> -		regulator-min-microvolt = <1050000>;
> -		regulator-max-microvolt = <1050000>;
> -		regulator-always-on;
> -		regulator-boot-on;
> -		vin-supply = <&vcc5v0_sys>;
> -	};
> -
> -	vdd_1v0: vdd-1v0 {
> -		compatible = "regulator-fixed";
> -		regulator-name = "vdd_1v0";
> -		regulator-min-microvolt = <1000000>;
> -		regulator-max-microvolt = <1000000>;
> -		regulator-always-on;
> -		regulator-boot-on;
> -		vin-supply = <&vcc5v0_sys>;
> -	};
> -};
> -
> -&cpu0 {
> -	cpu-supply = <&vdd_core>;
> -};
> -
> -&saradc {
> -	status = "okay";
> -	vref-supply = <&vcc_1v8>;
> -};
> -
> -&pinctrl {
> -	pinctrl-names = "default";
> -	pinctrl-0 = <&rtc_32k>;
> -
> -	buttons {
> -		pwr_key: pwr-key {
> -			rockchip,pins = <0 RK_PA6 0 &pcfg_pull_up>;
> -		};
> -	};
> -
> -	usb {
> -		usb_drv: usb-drv {
> -			rockchip,pins = <0 RK_PC5 0 &pcfg_pull_none>;
> -		};
> -	};
> -
> -	sdio-pwrseq {
> -		wifi_enable_h: wifi-enable-h {
> -			rockchip,pins = <0 RK_PA2 0 &pcfg_pull_none>;
> -		};
> -	};
> -};
> -
> -&pwm0 {
> -	status = "okay";
> -	pinctrl-0 = <&pwm0_pin_pull_down>;
> -};
> -
> -&uart4 {
> -	pinctrl-names = "default";
> -	pinctrl-0 = <&uart4_xfer>;
> -	status = "okay";
> -};
> diff --git a/arch/arm/dts/rk3308-roc-cc.dts b/arch/arm/dts/rk3308-roc-cc.dts
> deleted file mode 100644
> index 9232357f4fec..000000000000
> --- a/arch/arm/dts/rk3308-roc-cc.dts
> +++ /dev/null
> @@ -1,190 +0,0 @@
> -// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
> -/*
> - * Copyright (c) 2019 Fuzhou Rockchip Electronics Co., Ltd
> - */
> -
> -/dts-v1/;
> -#include "rk3308.dtsi"
> -
> -/ {
> -	model = "Firefly ROC-RK3308-CC board";
> -	compatible = "firefly,roc-rk3308-cc", "rockchip,rk3308";
> -
> -	aliases {
> -		mmc0 = &sdmmc;
> -		mmc1 = &emmc;
> -	};
> -
> -	chosen {
> -		stdout-path = "serial2:1500000n8";
> -	};
> -
> -	ir-receiver {
> -		compatible = "gpio-ir-receiver";
> -		gpios = <&gpio0 RK_PC0 GPIO_ACTIVE_HIGH>;
> -		pinctrl-names = "default";
> -		pinctrl-0 = <&ir_recv_pin>;
> -	};
> -
> -	ir_tx {
> -		compatible = "pwm-ir-tx";
> -		pwms = <&pwm5 0 25000 0>;
> -	};
> -
> -	leds {
> -		compatible = "gpio-leds";
> -
> -		power_led: led-0 {
> -			label = "firefly:red:power";
> -			linux,default-trigger = "ir-power-click";
> -			default-state = "on";
> -			gpios = <&gpio0 RK_PA6 GPIO_ACTIVE_HIGH>;
> -		};
> -
> -		user_led: led-1 {
> -			label = "firefly:blue:user";
> -			linux,default-trigger = "ir-user-click";
> -			default-state = "off";
> -			gpios = <&gpio0 RK_PB2 GPIO_ACTIVE_HIGH>;
> -		};
> -	};
> -
> -	typec_vcc5v: typec-vcc5v {
> -		compatible = "regulator-fixed";
> -		regulator-name = "typec_vcc5v";
> -		regulator-min-microvolt = <5000000>;
> -		regulator-max-microvolt = <5000000>;
> -		regulator-always-on;
> -		regulator-boot-on;
> -	};
> -
> -	vcc5v0_sys: vcc5v0-sys {
> -		compatible = "regulator-fixed";
> -		regulator-name = "vcc5v0_sys";
> -		regulator-min-microvolt = <5000000>;
> -		regulator-max-microvolt = <5000000>;
> -		regulator-always-on;
> -		regulator-boot-on;
> -		vin-supply = <&typec_vcc5v>;
> -	};
> -
> -	vcc_io: vcc-io {
> -		compatible = "regulator-fixed";
> -		regulator-name = "vcc_io";
> -		regulator-min-microvolt = <3300000>;
> -		regulator-max-microvolt = <3300000>;
> -		regulator-always-on;
> -		regulator-boot-on;
> -		vin-supply = <&vcc5v0_sys>;
> -	};
> -
> -	vcc_sdmmc: vcc-sdmmc {
> -		compatible = "regulator-gpio";
> -		regulator-name = "vcc_sdmmc";
> -		regulator-min-microvolt = <1800000>;
> -		regulator-max-microvolt = <3300000>;
> -		gpios = <&gpio0 RK_PA7 GPIO_ACTIVE_HIGH>;
> -		states = <1800000 0x0>,
> -			 <3300000 0x1>;
> -		vin-supply = <&vcc5v0_sys>;
> -	};
> -
> -	vcc_sd: vcc-sd {
> -		compatible = "regulator-fixed";
> -		gpio = <&gpio4 RK_PD6 GPIO_ACTIVE_LOW>;
> -		regulator-name = "vcc_sd";
> -		regulator-min-microvolt = <3300000>;
> -		regulator-max-microvolt = <3300000>;
> -		regulator-always-on;
> -		regulator-boot-on;
> -		vin-supply = <&vcc_io>;
> -	};
> -
> -	vdd_core: vdd-core {
> -		compatible = "pwm-regulator";
> -		pwms = <&pwm0 0 5000 1>;
> -		regulator-name = "vdd_core";
> -		regulator-min-microvolt = <827000>;
> -		regulator-max-microvolt = <1340000>;
> -		regulator-settling-time-up-us = <250>;
> -		regulator-always-on;
> -		regulator-boot-on;
> -		pwm-supply = <&vcc5v0_sys>;
> -	};
> -
> -	vdd_log: vdd-log {
> -		compatible = "regulator-fixed";
> -		regulator-name = "vdd_log";
> -		regulator-min-microvolt = <1050000>;
> -		regulator-max-microvolt = <1050000>;
> -		regulator-always-on;
> -		regulator-boot-on;
> -		vin-supply = <&vcc5v0_sys>;
> -	};
> -};
> -
> -&cpu0 {
> -	cpu-supply = <&vdd_core>;
> -};
> -
> -&emmc {
> -	cap-mmc-highspeed;
> -	mmc-hs200-1_8v;
> -	non-removable;
> -	status = "okay";
> -};
> -
> -&i2c1 {
> -	clock-frequency = <400000>;
> -	status = "okay";
> -
> -	rtc: rtc@51 {
> -		compatible = "nxp,pcf8563";
> -		reg = <0x51>;
> -		#clock-cells = <0>;
> -	};
> -};
> -
> -&pwm5 {
> -	status = "okay";
> -	pinctrl-names = "active";
> -	pinctrl-0 = <&pwm5_pin_pull_down>;
> -};
> -
> -&pinctrl {
> -	pinctrl-names = "default";
> -	pinctrl-0 = <&rtc_32k>;
> -
> -	ir-receiver {
> -		ir_recv_pin: ir-recv-pin  {
> -			rockchip,pins = <0 RK_PC0 RK_FUNC_GPIO &pcfg_pull_none>;
> -		};
> -	};
> -
> -	buttons {
> -		pwr_key: pwr-key {
> -			rockchip,pins = <0 RK_PA6 RK_FUNC_GPIO &pcfg_pull_up>;
> -		};
> -	};
> -};
> -
> -&pwm0 {
> -	status = "okay";
> -	pinctrl-0 = <&pwm0_pin_pull_down>;
> -};
> -
> -&sdmmc {
> -	cap-mmc-highspeed;
> -	cap-sd-highspeed;
> -	card-detect-delay = <300>;
> -	sd-uhs-sdr25;
> -	sd-uhs-sdr50;
> -	sd-uhs-sdr104;
> -	vmmc-supply = <&vcc_sd>;
> -	vqmmc-supply = <&vcc_sdmmc>;
> -	status = "okay";
> -};
> -
> -&uart2 {
> -	status = "okay";
> -};
> diff --git a/arch/arm/dts/rk3308-rock-pi-s.dts b/arch/arm/dts/rk3308-rock-pi-s.dts
> deleted file mode 100644
> index b47fe02c33fb..000000000000
> --- a/arch/arm/dts/rk3308-rock-pi-s.dts
> +++ /dev/null
> @@ -1,314 +0,0 @@
> -// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
> -/*
> - * Copyright (c) 2019 Akash Gajjar <akash@openedev.com>
> - * Copyright (c) 2019 Jagan Teki <jagan@openedev.com>
> - */
> -
> -/dts-v1/;
> -#include "rk3308.dtsi"
> -
> -/ {
> -	model = "Radxa ROCK Pi S";
> -	compatible = "radxa,rockpis", "rockchip,rk3308";
> -
> -	aliases {
> -		ethernet0 = &gmac;
> -		mmc0 = &emmc;
> -		mmc1 = &sdmmc;
> -	};
> -
> -	chosen {
> -		stdout-path = "serial0:1500000n8";
> -	};
> -
> -	leds {
> -		compatible = "gpio-leds";
> -		pinctrl-names = "default";
> -		pinctrl-0 = <&green_led_gio>, <&heartbeat_led_gpio>;
> -
> -		green-led {
> -			default-state = "on";
> -			gpios = <&gpio0 RK_PA6 GPIO_ACTIVE_HIGH>;
> -			label = "rockpis:green:power";
> -			linux,default-trigger = "default-on";
> -		};
> -
> -		blue-led {
> -			default-state = "on";
> -			gpios = <&gpio0 RK_PA5 GPIO_ACTIVE_HIGH>;
> -			label = "rockpis:blue:user";
> -			linux,default-trigger = "heartbeat";
> -		};
> -	};
> -
> -	sdio_pwrseq: sdio-pwrseq {
> -		compatible = "mmc-pwrseq-simple";
> -		pinctrl-0 = <&wifi_enable_h>;
> -		pinctrl-names = "default";
> -		reset-gpios = <&gpio0 RK_PA2 GPIO_ACTIVE_LOW>;
> -	};
> -
> -	vcc_1v8: vcc-1v8 {
> -		compatible = "regulator-fixed";
> -		regulator-name = "vcc_1v8";
> -		regulator-always-on;
> -		regulator-boot-on;
> -		regulator-min-microvolt = <1800000>;
> -		regulator-max-microvolt = <1800000>;
> -		vin-supply = <&vcc_io>;
> -	};
> -
> -	vcc_io: vcc-io {
> -		compatible = "regulator-fixed";
> -		regulator-name = "vcc_io";
> -		regulator-always-on;
> -		regulator-boot-on;
> -		regulator-min-microvolt = <3300000>;
> -		regulator-max-microvolt = <3300000>;
> -		vin-supply = <&vcc5v0_sys>;
> -	};
> -
> -	vcc_ddr: vcc-ddr {
> -		compatible = "regulator-fixed";
> -		regulator-name = "vcc_ddr";
> -		regulator-always-on;
> -		regulator-boot-on;
> -		regulator-min-microvolt = <1500000>;
> -		regulator-max-microvolt = <1500000>;
> -		vin-supply = <&vcc5v0_sys>;
> -	};
> -
> -	vcc5v0_otg: vcc5v0-otg {
> -		compatible = "regulator-fixed";
> -		enable-active-high;
> -		gpio = <&gpio0 RK_PC5 GPIO_ACTIVE_HIGH>;
> -		pinctrl-names = "default";
> -		pinctrl-0 = <&otg_vbus_drv>;
> -		regulator-name = "vcc5v0_otg";
> -		regulator-always-on;
> -		vin-supply = <&vcc5v0_sys>;
> -	};
> -
> -	vcc5v0_sys: vcc5v0-sys {
> -		compatible = "regulator-fixed";
> -		regulator-name = "vcc5v0_sys";
> -		regulator-always-on;
> -		regulator-boot-on;
> -		regulator-min-microvolt = <5000000>;
> -		regulator-max-microvolt = <5000000>;
> -	};
> -
> -	vdd_core: vdd-core {
> -		compatible = "pwm-regulator";
> -		pwms = <&pwm0 0 5000 1>;
> -		pwm-supply = <&vcc5v0_sys>;
> -		regulator-name = "vdd_core";
> -		regulator-min-microvolt = <827000>;
> -		regulator-max-microvolt = <1340000>;
> -		regulator-settling-time-up-us = <250>;
> -		regulator-always-on;
> -		regulator-boot-on;
> -	};
> -
> -	vdd_log: vdd-log {
> -		compatible = "regulator-fixed";
> -		regulator-name = "vdd_log";
> -		regulator-always-on;
> -		regulator-boot-on;
> -		regulator-min-microvolt = <1050000>;
> -		regulator-max-microvolt = <1050000>;
> -		vin-supply = <&vcc5v0_sys>;
> -	};
> -};
> -
> -&cpu0 {
> -	cpu-supply = <&vdd_core>;
> -};
> -
> -&emmc {
> -	bus-width = <4>;
> -	cap-mmc-highspeed;
> -	mmc-hs200-1_8v;
> -	non-removable;
> -	vmmc-supply = <&vcc_io>;
> -	status = "okay";
> -};
> -
> -&gmac {
> -	clock_in_out = "output";
> -	phy-supply = <&vcc_io>;
> -	snps,reset-gpio = <&gpio0 RK_PA7 GPIO_ACTIVE_LOW>;
> -	snps,reset-active-low;
> -	snps,reset-delays-us = <0 50000 50000>;
> -	status = "okay";
> -};
> -
> -&gpio0 {
> -	gpio-line-names =
> -		/* GPIO0_A0 - A7 */
> -		"", "", "", "", "", "", "", "",
> -		/* GPIO0_B0 - B7 */
> -		"", "", "", "header1-pin3 [GPIO0_B3]",
> -		"header1-pin5 [GPIO0_B4]", "", "",
> -		"header1-pin11 [GPIO0_B7]",
> -		/* GPIO0_C0 - C7 */
> -		"header1-pin13 [GPIO0_C0]",
> -		"header1-pin15 [GPIO0_C1]", "", "", "",
> -		"", "", "",
> -		/* GPIO0_D0 - D7 */
> -		"", "", "", "", "", "", "", "";
> -};
> -
> -&gpio1 {
> -	gpio-line-names =
> -		/* GPIO1_A0 - A7 */
> -		"", "", "", "", "", "", "", "",
> -		/* GPIO1_B0 - B7 */
> -		"", "", "", "", "", "", "", "",
> -		/* GPIO1_C0 - C7 */
> -		"", "", "", "", "", "", "header1-pin21 [GPIO1_C6]",
> -		"header1-pin19 [GPIO1_C7]",
> -		/* GPIO1_D0 - D7 */
> -		"header1-pin23 [GPIO1_D0]", "header1-pin24 [GPIO1_D1]",
> -		"", "", "", "", "", "";
> -};
> -
> -&gpio2 {
> -	gpio-line-names =
> -		/* GPIO2_A0 - A7 */
> -		"header1-pin10 [GPIO2_A0]", "header1-pin8 [GPIO2_A1]",
> -		"", "",
> -		"header1-pin7 [GPIO2_A4]", "header1-pin12 [GPIO2_A5]",
> -		"header2-pin46 [GPIO2_A6]", "header1-pin22 [GPIO1_A7]",
> -		/* GPIO2_B0 - B7 */
> -		"header2-pin45 [GPIO2_B0]", "header1-pin18 [GPIO2_B1]",
> -		"header1-pin16 [GPIO2_B2]", "header2-pin44 [GPIO2_B3]",
> -		"header2-pin43 [GPIO2_B4]", "header2-pin28 [GPIO2_B5]",
> -		"header2-pin30 [GPIO2_B6]", "header2-pin32 [GPIO2_B7]",
> -		/* GPIO2_C0 - C7 */
> -		"header2-pin34 [GPIO2_C0]", "", "", "", "", "", "", "",
> -		/* GPIO2_D0 - D7 */
> -		"", "", "", "", "", "", "", "";
> -};
> -
> -&gpio3 {
> -	gpio-line-names =
> -		/* GPIO3_A0 - A7 */
> -		"", "", "", "", "", "", "", "",
> -		/* GPIO3_B0 - B7 */
> -		"", "", "header2-pin42 [GPIO3_B2]",
> -		"header2-pin41 [GPIO3_B3]", "header2-pin40 [GPIO3_B4]",
> -		"header2-pin39 [GPIO3_B5]", "", "",
> -		/* GPIO3_C0 - C7 */
> -		"", "", "", "", "", "", "", "",
> -		/* GPIO3_D0 - D7 */
> -		"", "", "", "", "", "", "", "";
> -};
> -
> -&i2c1 {
> -	status = "okay";
> -};
> -
> -&pinctrl {
> -	pinctrl-names = "default";
> -	pinctrl-0 = <&rtc_32k>;
> -
> -	leds {
> -		green_led_gio: green-led-gpio {
> -			rockchip,pins = <0 RK_PA6 RK_FUNC_GPIO &pcfg_pull_none>;
> -		};
> -
> -		heartbeat_led_gpio: heartbeat-led-gpio {
> -			rockchip,pins = <0 RK_PA5 RK_FUNC_GPIO &pcfg_pull_none>;
> -		};
> -	};
> -
> -	usb {
> -		otg_vbus_drv: otg-vbus-drv {
> -			rockchip,pins = <0 RK_PC5 RK_FUNC_GPIO &pcfg_pull_none>;
> -		};
> -	};
> -
> -	sdio-pwrseq {
> -		wifi_enable_h: wifi-enable-h {
> -			rockchip,pins = <0 RK_PA2 RK_FUNC_GPIO &pcfg_pull_none>;
> -		};
> -
> -		wifi_host_wake: wifi-host-wake {
> -			rockchip,pins = <0 RK_PA0 RK_FUNC_GPIO &pcfg_pull_down>;
> -		};
> -	};
> -};
> -
> -&pwm0 {
> -	status = "okay";
> -	pinctrl-0 = <&pwm0_pin_pull_down>;
> -};
> -
> -&saradc {
> -	vref-supply = <&vcc_1v8>;
> -	status = "okay";
> -};
> -
> -&sdio {
> -	#address-cells = <1>;
> -	#size-cells = <0>;
> -	cap-sd-highspeed;
> -	cap-sdio-irq;
> -	keep-power-in-suspend;
> -	max-frequency = <1000000>;
> -	mmc-pwrseq = <&sdio_pwrseq>;
> -	non-removable;
> -	sd-uhs-sdr104;
> -	status = "okay";
> -};
> -
> -&sdmmc {
> -	cap-sd-highspeed;
> -	status = "okay";
> -};
> -
> -&u2phy {
> -	status = "okay";
> -
> -	u2phy_host: host-port {
> -		phy-supply = <&vcc5v0_otg>;
> -		status = "okay";
> -	};
> -
> -	u2phy_otg: otg-port {
> -		phy-supply = <&vcc5v0_otg>;
> -		status = "okay";
> -	};
> -};
> -
> -&uart0 {
> -	status = "okay";
> -};
> -
> -&uart4 {
> -	status = "okay";
> -
> -	bluetooth {
> -		compatible = "realtek,rtl8723bs-bt";
> -		device-wake-gpios = <&gpio4 RK_PB3 GPIO_ACTIVE_HIGH>;
> -		host-wake-gpios = <&gpio4 RK_PB4 GPIO_ACTIVE_HIGH>;
> -	};
> -};
> -
> -&usb_host_ehci {
> -	status = "okay";
> -};
> -
> -&usb_host_ohci {
> -	status = "okay";
> -};
> -
> -&usb20_otg {
> -	dr_mode = "peripheral";
> -	status = "okay";
> -};
> -
> -&wdt {
> -	status = "okay";
> -};
> diff --git a/arch/arm/dts/rk3308.dtsi b/arch/arm/dts/rk3308.dtsi
> deleted file mode 100644
> index cfc0a87b5195..000000000000
> --- a/arch/arm/dts/rk3308.dtsi
> +++ /dev/null
> @@ -1,1888 +0,0 @@
> -// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
> -/*
> - * Copyright (c) 2019 Fuzhou Rockchip Electronics Co., Ltd
> - *
> - */
> -
> -#include <dt-bindings/clock/rk3308-cru.h>
> -#include <dt-bindings/gpio/gpio.h>
> -#include <dt-bindings/interrupt-controller/arm-gic.h>
> -#include <dt-bindings/interrupt-controller/irq.h>
> -#include <dt-bindings/pinctrl/rockchip.h>
> -#include <dt-bindings/soc/rockchip,boot-mode.h>
> -#include <dt-bindings/thermal/thermal.h>
> -
> -/ {
> -	compatible = "rockchip,rk3308";
> -
> -	interrupt-parent = <&gic>;
> -	#address-cells = <2>;
> -	#size-cells = <2>;
> -
> -	aliases {
> -		gpio0 = &gpio0;
> -		gpio1 = &gpio1;
> -		gpio2 = &gpio2;
> -		gpio3 = &gpio3;
> -		gpio4 = &gpio4;
> -		i2c0 = &i2c0;
> -		i2c1 = &i2c1;
> -		i2c2 = &i2c2;
> -		i2c3 = &i2c3;
> -		serial0 = &uart0;
> -		serial1 = &uart1;
> -		serial2 = &uart2;
> -		serial3 = &uart3;
> -		serial4 = &uart4;
> -		spi0 = &spi0;
> -		spi1 = &spi1;
> -		spi2 = &spi2;
> -	};
> -
> -	cpus {
> -		#address-cells = <2>;
> -		#size-cells = <0>;
> -
> -		cpu0: cpu@0 {
> -			device_type = "cpu";
> -			compatible = "arm,cortex-a35";
> -			reg = <0x0 0x0>;
> -			enable-method = "psci";
> -			clocks = <&cru ARMCLK>;
> -			#cooling-cells = <2>;
> -			dynamic-power-coefficient = <90>;
> -			operating-points-v2 = <&cpu0_opp_table>;
> -			cpu-idle-states = <&CPU_SLEEP>;
> -			next-level-cache = <&l2>;
> -		};
> -
> -		cpu1: cpu@1 {
> -			device_type = "cpu";
> -			compatible = "arm,cortex-a35";
> -			reg = <0x0 0x1>;
> -			enable-method = "psci";
> -			operating-points-v2 = <&cpu0_opp_table>;
> -			cpu-idle-states = <&CPU_SLEEP>;
> -			next-level-cache = <&l2>;
> -		};
> -
> -		cpu2: cpu@2 {
> -			device_type = "cpu";
> -			compatible = "arm,cortex-a35";
> -			reg = <0x0 0x2>;
> -			enable-method = "psci";
> -			operating-points-v2 = <&cpu0_opp_table>;
> -			cpu-idle-states = <&CPU_SLEEP>;
> -			next-level-cache = <&l2>;
> -		};
> -
> -		cpu3: cpu@3 {
> -			device_type = "cpu";
> -			compatible = "arm,cortex-a35";
> -			reg = <0x0 0x3>;
> -			enable-method = "psci";
> -			operating-points-v2 = <&cpu0_opp_table>;
> -			cpu-idle-states = <&CPU_SLEEP>;
> -			next-level-cache = <&l2>;
> -		};
> -
> -		idle-states {
> -			entry-method = "psci";
> -
> -			CPU_SLEEP: cpu-sleep {
> -				compatible = "arm,idle-state";
> -				local-timer-stop;
> -				arm,psci-suspend-param = <0x0010000>;
> -				entry-latency-us = <120>;
> -				exit-latency-us = <250>;
> -				min-residency-us = <900>;
> -			};
> -		};
> -
> -		l2: l2-cache {
> -			compatible = "cache";
> -			cache-level = <2>;
> -			cache-unified;
> -		};
> -	};
> -
> -	cpu0_opp_table: opp-table-0 {
> -		compatible = "operating-points-v2";
> -		opp-shared;
> -
> -		opp-408000000 {
> -			opp-hz = /bits/ 64 <408000000>;
> -			opp-microvolt = <950000 950000 1340000>;
> -			clock-latency-ns = <40000>;
> -			opp-suspend;
> -		};
> -		opp-600000000 {
> -			opp-hz = /bits/ 64 <600000000>;
> -			opp-microvolt = <950000 950000 1340000>;
> -			clock-latency-ns = <40000>;
> -		};
> -		opp-816000000 {
> -			opp-hz = /bits/ 64 <816000000>;
> -			opp-microvolt = <1025000 1025000 1340000>;
> -			clock-latency-ns = <40000>;
> -		};
> -		opp-1008000000 {
> -			opp-hz = /bits/ 64 <1008000000>;
> -			opp-microvolt = <1125000 1125000 1340000>;
> -			clock-latency-ns = <40000>;
> -		};
> -	};
> -
> -	arm-pmu {
> -		compatible = "arm,cortex-a35-pmu";
> -		interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>,
> -			     <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>,
> -			     <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>,
> -			     <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;
> -		interrupt-affinity = <&cpu0>, <&cpu1>, <&cpu2>, <&cpu3>;
> -	};
> -
> -	mac_clkin: external-mac-clock {
> -		compatible = "fixed-clock";
> -		clock-frequency = <50000000>;
> -		clock-output-names = "mac_clkin";
> -		#clock-cells = <0>;
> -	};
> -
> -	psci {
> -		compatible = "arm,psci-1.0";
> -		method = "smc";
> -	};
> -
> -	timer {
> -		compatible = "arm,armv8-timer";
> -		interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>,
> -			     <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>,
> -			     <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>,
> -			     <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>;
> -	};
> -
> -	xin24m: xin24m {
> -		compatible = "fixed-clock";
> -		#clock-cells = <0>;
> -		clock-frequency = <24000000>;
> -		clock-output-names = "xin24m";
> -	};
> -
> -	grf: grf@ff000000 {
> -		compatible = "rockchip,rk3308-grf", "syscon", "simple-mfd";
> -		reg = <0x0 0xff000000 0x0 0x08000>;
> -
> -		reboot-mode {
> -			compatible = "syscon-reboot-mode";
> -			offset = <0x500>;
> -			mode-bootloader = <BOOT_BL_DOWNLOAD>;
> -			mode-loader = <BOOT_BL_DOWNLOAD>;
> -			mode-normal = <BOOT_NORMAL>;
> -			mode-recovery = <BOOT_RECOVERY>;
> -			mode-fastboot = <BOOT_FASTBOOT>;
> -		};
> -	};
> -
> -	usb2phy_grf: syscon@ff008000 {
> -		compatible = "rockchip,rk3308-usb2phy-grf", "syscon", "simple-mfd";
> -		reg = <0x0 0xff008000 0x0 0x4000>;
> -		#address-cells = <1>;
> -		#size-cells = <1>;
> -
> -		u2phy: usb2phy@100 {
> -			compatible = "rockchip,rk3308-usb2phy";
> -			reg = <0x100 0x10>;
> -			assigned-clocks = <&cru USB480M>;
> -			assigned-clock-parents = <&u2phy>;
> -			clocks = <&cru SCLK_USBPHY_REF>;
> -			clock-names = "phyclk";
> -			clock-output-names = "usb480m_phy";
> -			#clock-cells = <0>;
> -			status = "disabled";
> -
> -			u2phy_otg: otg-port {
> -				interrupts = <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>,
> -					     <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>,
> -					     <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>;
> -				interrupt-names = "otg-bvalid", "otg-id",
> -						  "linestate";
> -				#phy-cells = <0>;
> -				status = "disabled";
> -			};
> -
> -			u2phy_host: host-port {
> -				interrupts = <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>;
> -				interrupt-names = "linestate";
> -				#phy-cells = <0>;
> -				status = "disabled";
> -			};
> -		};
> -	};
> -
> -	detect_grf: syscon@ff00b000 {
> -		compatible = "rockchip,rk3308-detect-grf", "syscon", "simple-mfd";
> -		reg = <0x0 0xff00b000 0x0 0x1000>;
> -		#address-cells = <1>;
> -		#size-cells = <1>;
> -	};
> -
> -	core_grf: syscon@ff00c000 {
> -		compatible = "rockchip,rk3308-core-grf", "syscon", "simple-mfd";
> -		reg = <0x0 0xff00c000 0x0 0x1000>;
> -		#address-cells = <1>;
> -		#size-cells = <1>;
> -	};
> -
> -	i2c0: i2c@ff040000 {
> -		compatible = "rockchip,rk3308-i2c", "rockchip,rk3399-i2c";
> -		reg = <0x0 0xff040000 0x0 0x1000>;
> -		clocks = <&cru SCLK_I2C0>, <&cru PCLK_I2C0>;
> -		clock-names = "i2c", "pclk";
> -		interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
> -		pinctrl-names = "default";
> -		pinctrl-0 = <&i2c0_xfer>;
> -		#address-cells = <1>;
> -		#size-cells = <0>;
> -		status = "disabled";
> -	};
> -
> -	i2c1: i2c@ff050000 {
> -		compatible = "rockchip,rk3308-i2c", "rockchip,rk3399-i2c";
> -		reg = <0x0 0xff050000 0x0 0x1000>;
> -		clocks = <&cru SCLK_I2C1>, <&cru PCLK_I2C1>;
> -		clock-names = "i2c", "pclk";
> -		interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
> -		pinctrl-names = "default";
> -		pinctrl-0 = <&i2c1_xfer>;
> -		#address-cells = <1>;
> -		#size-cells = <0>;
> -		status = "disabled";
> -	};
> -
> -	i2c2: i2c@ff060000 {
> -		compatible = "rockchip,rk3308-i2c", "rockchip,rk3399-i2c";
> -		reg = <0x0 0xff060000 0x0 0x1000>;
> -		clocks = <&cru SCLK_I2C2>, <&cru PCLK_I2C2>;
> -		clock-names = "i2c", "pclk";
> -		interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>;
> -		pinctrl-names = "default";
> -		pinctrl-0 = <&i2c2_xfer>;
> -		#address-cells = <1>;
> -		#size-cells = <0>;
> -		status = "disabled";
> -	};
> -
> -	i2c3: i2c@ff070000 {
> -		compatible = "rockchip,rk3308-i2c", "rockchip,rk3399-i2c";
> -		reg = <0x0 0xff070000 0x0 0x1000>;
> -		clocks = <&cru SCLK_I2C3>, <&cru PCLK_I2C3>;
> -		clock-names = "i2c", "pclk";
> -		interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
> -		pinctrl-names = "default";
> -		pinctrl-0 = <&i2c3m0_xfer>;
> -		#address-cells = <1>;
> -		#size-cells = <0>;
> -		status = "disabled";
> -	};
> -
> -	wdt: watchdog@ff080000 {
> -		compatible = "rockchip,rk3308-wdt", "snps,dw-wdt";
> -		reg = <0x0 0xff080000 0x0 0x100>;
> -		clocks = <&cru PCLK_WDT>;
> -		interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
> -		status = "disabled";
> -	};
> -
> -	uart0: serial@ff0a0000 {
> -		compatible = "rockchip,rk3308-uart", "snps,dw-apb-uart";
> -		reg = <0x0 0xff0a0000 0x0 0x100>;
> -		interrupts = <GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH>;
> -		clocks = <&cru SCLK_UART0>, <&cru PCLK_UART0>;
> -		clock-names = "baudclk", "apb_pclk";
> -		reg-shift = <2>;
> -		reg-io-width = <4>;
> -		pinctrl-names = "default";
> -		pinctrl-0 = <&uart0_xfer &uart0_cts &uart0_rts>;
> -		status = "disabled";
> -	};
> -
> -	uart1: serial@ff0b0000 {
> -		compatible = "rockchip,rk3308-uart", "snps,dw-apb-uart";
> -		reg = <0x0 0xff0b0000 0x0 0x100>;
> -		interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>;
> -		clocks = <&cru SCLK_UART1>, <&cru PCLK_UART1>;
> -		clock-names = "baudclk", "apb_pclk";
> -		reg-shift = <2>;
> -		reg-io-width = <4>;
> -		pinctrl-names = "default";
> -		pinctrl-0 = <&uart1_xfer &uart1_cts &uart1_rts>;
> -		status = "disabled";
> -	};
> -
> -	uart2: serial@ff0c0000 {
> -		compatible = "rockchip,rk3308-uart", "snps,dw-apb-uart";
> -		reg = <0x0 0xff0c0000 0x0 0x100>;
> -		interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>;
> -		clocks = <&cru SCLK_UART2>, <&cru PCLK_UART2>;
> -		clock-names = "baudclk", "apb_pclk";
> -		reg-shift = <2>;
> -		reg-io-width = <4>;
> -		pinctrl-names = "default";
> -		pinctrl-0 = <&uart2m0_xfer>;
> -		status = "disabled";
> -	};
> -
> -	uart3: serial@ff0d0000 {
> -		compatible = "rockchip,rk3308-uart", "snps,dw-apb-uart";
> -		reg = <0x0 0xff0d0000 0x0 0x100>;
> -		interrupts = <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>;
> -		clocks = <&cru SCLK_UART3>, <&cru PCLK_UART3>;
> -		clock-names = "baudclk", "apb_pclk";
> -		reg-shift = <2>;
> -		reg-io-width = <4>;
> -		pinctrl-names = "default";
> -		pinctrl-0 = <&uart3_xfer>;
> -		status = "disabled";
> -	};
> -
> -	uart4: serial@ff0e0000 {
> -		compatible = "rockchip,rk3308-uart", "snps,dw-apb-uart";
> -		reg = <0x0 0xff0e0000 0x0 0x100>;
> -		interrupts = <GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>;
> -		clocks = <&cru SCLK_UART4>, <&cru PCLK_UART4>;
> -		clock-names = "baudclk", "apb_pclk";
> -		reg-shift = <2>;
> -		reg-io-width = <4>;
> -		pinctrl-names = "default";
> -		pinctrl-0 = <&uart4_xfer &uart4_cts &uart4_rts>;
> -		status = "disabled";
> -	};
> -
> -	spi0: spi@ff120000 {
> -		compatible = "rockchip,rk3308-spi", "rockchip,rk3066-spi";
> -		reg = <0x0 0xff120000 0x0 0x1000>;
> -		interrupts = <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>;
> -		#address-cells = <1>;
> -		#size-cells = <0>;
> -		clocks = <&cru SCLK_SPI0>, <&cru PCLK_SPI0>;
> -		clock-names = "spiclk", "apb_pclk";
> -		dmas = <&dmac0 0>, <&dmac0 1>;
> -		dma-names = "tx", "rx";
> -		pinctrl-names = "default";
> -		pinctrl-0 = <&spi0_clk &spi0_csn0 &spi0_miso &spi0_mosi>;
> -		status = "disabled";
> -	};
> -
> -	spi1: spi@ff130000 {
> -		compatible = "rockchip,rk3308-spi", "rockchip,rk3066-spi";
> -		reg = <0x0 0xff130000 0x0 0x1000>;
> -		interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
> -		#address-cells = <1>;
> -		#size-cells = <0>;
> -		clocks = <&cru SCLK_SPI1>, <&cru PCLK_SPI1>;
> -		clock-names = "spiclk", "apb_pclk";
> -		dmas = <&dmac0 2>, <&dmac0 3>;
> -		dma-names = "tx", "rx";
> -		pinctrl-names = "default";
> -		pinctrl-0 = <&spi1_clk &spi1_csn0 &spi1_miso &spi1_mosi>;
> -		status = "disabled";
> -	};
> -
> -	spi2: spi@ff140000 {
> -		compatible = "rockchip,rk3308-spi", "rockchip,rk3066-spi";
> -		reg = <0x0 0xff140000 0x0 0x1000>;
> -		interrupts = <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>;
> -		#address-cells = <1>;
> -		#size-cells = <0>;
> -		clocks = <&cru SCLK_SPI2>, <&cru PCLK_SPI2>;
> -		clock-names = "spiclk", "apb_pclk";
> -		dmas = <&dmac1 16>, <&dmac1 17>;
> -		dma-names = "tx", "rx";
> -		pinctrl-names = "default";
> -		pinctrl-0 = <&spi2_clk &spi2_csn0 &spi2_miso &spi2_mosi>;
> -		status = "disabled";
> -	};
> -
> -	pwm8: pwm@ff160000 {
> -		compatible = "rockchip,rk3308-pwm", "rockchip,rk3328-pwm";
> -		reg = <0x0 0xff160000 0x0 0x10>;
> -		clocks = <&cru SCLK_PWM2>, <&cru PCLK_PWM2>;
> -		clock-names = "pwm", "pclk";
> -		pinctrl-names = "default";
> -		pinctrl-0 = <&pwm8_pin>;
> -		#pwm-cells = <3>;
> -		status = "disabled";
> -	};
> -
> -	pwm9: pwm@ff160010 {
> -		compatible = "rockchip,rk3308-pwm", "rockchip,rk3328-pwm";
> -		reg = <0x0 0xff160010 0x0 0x10>;
> -		clocks = <&cru SCLK_PWM2>, <&cru PCLK_PWM2>;
> -		clock-names = "pwm", "pclk";
> -		pinctrl-names = "default";
> -		pinctrl-0 = <&pwm9_pin>;
> -		#pwm-cells = <3>;
> -		status = "disabled";
> -	};
> -
> -	pwm10: pwm@ff160020 {
> -		compatible = "rockchip,rk3308-pwm", "rockchip,rk3328-pwm";
> -		reg = <0x0 0xff160020 0x0 0x10>;
> -		clocks = <&cru SCLK_PWM2>, <&cru PCLK_PWM2>;
> -		clock-names = "pwm", "pclk";
> -		pinctrl-names = "default";
> -		pinctrl-0 = <&pwm10_pin>;
> -		#pwm-cells = <3>;
> -		status = "disabled";
> -	};
> -
> -	pwm11: pwm@ff160030 {
> -		compatible = "rockchip,rk3308-pwm", "rockchip,rk3328-pwm";
> -		reg = <0x0 0xff160030 0x0 0x10>;
> -		clocks = <&cru SCLK_PWM2>, <&cru PCLK_PWM2>;
> -		clock-names = "pwm", "pclk";
> -		pinctrl-names = "default";
> -		pinctrl-0 = <&pwm11_pin>;
> -		#pwm-cells = <3>;
> -		status = "disabled";
> -	};
> -
> -	pwm4: pwm@ff170000 {
> -		compatible = "rockchip,rk3308-pwm", "rockchip,rk3328-pwm";
> -		reg = <0x0 0xff170000 0x0 0x10>;
> -		clocks = <&cru SCLK_PWM1>, <&cru PCLK_PWM1>;
> -		clock-names = "pwm", "pclk";
> -		pinctrl-names = "default";
> -		pinctrl-0 = <&pwm4_pin>;
> -		#pwm-cells = <3>;
> -		status = "disabled";
> -	};
> -
> -	pwm5: pwm@ff170010 {
> -		compatible = "rockchip,rk3308-pwm", "rockchip,rk3328-pwm";
> -		reg = <0x0 0xff170010 0x0 0x10>;
> -		clocks = <&cru SCLK_PWM1>, <&cru PCLK_PWM1>;
> -		clock-names = "pwm", "pclk";
> -		pinctrl-names = "default";
> -		pinctrl-0 = <&pwm5_pin>;
> -		#pwm-cells = <3>;
> -		status = "disabled";
> -	};
> -
> -	pwm6: pwm@ff170020 {
> -		compatible = "rockchip,rk3308-pwm", "rockchip,rk3328-pwm";
> -		reg = <0x0 0xff170020 0x0 0x10>;
> -		clocks = <&cru SCLK_PWM1>, <&cru PCLK_PWM1>;
> -		clock-names = "pwm", "pclk";
> -		pinctrl-names = "default";
> -		pinctrl-0 = <&pwm6_pin>;
> -		#pwm-cells = <3>;
> -		status = "disabled";
> -	};
> -
> -	pwm7: pwm@ff170030 {
> -		compatible = "rockchip,rk3308-pwm", "rockchip,rk3328-pwm";
> -		reg = <0x0 0xff170030 0x0 0x10>;
> -		clocks = <&cru SCLK_PWM1>, <&cru PCLK_PWM1>;
> -		clock-names = "pwm", "pclk";
> -		pinctrl-names = "default";
> -		pinctrl-0 = <&pwm7_pin>;
> -		#pwm-cells = <3>;
> -		status = "disabled";
> -	};
> -
> -	pwm0: pwm@ff180000 {
> -		compatible = "rockchip,rk3308-pwm", "rockchip,rk3328-pwm";
> -		reg = <0x0 0xff180000 0x0 0x10>;
> -		clocks = <&cru SCLK_PWM0>, <&cru PCLK_PWM0>;
> -		clock-names = "pwm", "pclk";
> -		pinctrl-names = "default";
> -		pinctrl-0 = <&pwm0_pin>;
> -		#pwm-cells = <3>;
> -		status = "disabled";
> -	};
> -
> -	pwm1: pwm@ff180010 {
> -		compatible = "rockchip,rk3308-pwm", "rockchip,rk3328-pwm";
> -		reg = <0x0 0xff180010 0x0 0x10>;
> -		clocks = <&cru SCLK_PWM0>, <&cru PCLK_PWM0>;
> -		clock-names = "pwm", "pclk";
> -		pinctrl-names = "default";
> -		pinctrl-0 = <&pwm1_pin>;
> -		#pwm-cells = <3>;
> -		status = "disabled";
> -	};
> -
> -	pwm2: pwm@ff180020 {
> -		compatible = "rockchip,rk3308-pwm", "rockchip,rk3328-pwm";
> -		reg = <0x0 0xff180020 0x0 0x10>;
> -		clocks = <&cru SCLK_PWM0>, <&cru PCLK_PWM0>;
> -		clock-names = "pwm", "pclk";
> -		pinctrl-names = "default";
> -		pinctrl-0 = <&pwm2_pin>;
> -		#pwm-cells = <3>;
> -		status = "disabled";
> -	};
> -
> -	pwm3: pwm@ff180030 {
> -		compatible = "rockchip,rk3308-pwm", "rockchip,rk3328-pwm";
> -		reg = <0x0 0xff180030 0x0 0x10>;
> -		clocks = <&cru SCLK_PWM0>, <&cru PCLK_PWM0>;
> -		clock-names = "pwm", "pclk";
> -		pinctrl-names = "default";
> -		pinctrl-0 = <&pwm3_pin>;
> -		#pwm-cells = <3>;
> -		status = "disabled";
> -	};
> -
> -	rktimer: rktimer@ff1a0000 {
> -		compatible = "rockchip,rk3288-timer";
> -		reg = <0x0 0xff1a0000 0x0 0x20>;
> -		interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>;
> -		clocks = <&cru PCLK_TIMER>, <&cru SCLK_TIMER0>;
> -		clock-names = "pclk", "timer";
> -	};
> -
> -	saradc: saradc@ff1e0000 {
> -		compatible = "rockchip,rk3308-saradc", "rockchip,rk3399-saradc";
> -		reg = <0x0 0xff1e0000 0x0 0x100>;
> -		interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
> -		clocks = <&cru SCLK_SARADC>, <&cru PCLK_SARADC>;
> -		clock-names = "saradc", "apb_pclk";
> -		#io-channel-cells = <1>;
> -		resets = <&cru SRST_SARADC_P>;
> -		reset-names = "saradc-apb";
> -		status = "disabled";
> -	};
> -
> -	dmac0: dma-controller@ff2c0000 {
> -		compatible = "arm,pl330", "arm,primecell";
> -		reg = <0x0 0xff2c0000 0x0 0x4000>;
> -		interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>,
> -			     <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>;
> -		arm,pl330-periph-burst;
> -		clocks = <&cru ACLK_DMAC0>;
> -		clock-names = "apb_pclk";
> -		#dma-cells = <1>;
> -	};
> -
> -	dmac1: dma-controller@ff2d0000 {
> -		compatible = "arm,pl330", "arm,primecell";
> -		reg = <0x0 0xff2d0000 0x0 0x4000>;
> -		interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>,
> -			     <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>;
> -		arm,pl330-periph-burst;
> -		clocks = <&cru ACLK_DMAC1>;
> -		clock-names = "apb_pclk";
> -		#dma-cells = <1>;
> -	};
> -
> -	i2s_2ch_0: i2s@ff350000 {
> -		compatible = "rockchip,rk3308-i2s", "rockchip,rk3066-i2s";
> -		reg = <0x0 0xff350000 0x0 0x1000>;
> -		interrupts = <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>;
> -		clocks = <&cru SCLK_I2S0_2CH>, <&cru HCLK_I2S0_2CH>;
> -		clock-names = "i2s_clk", "i2s_hclk";
> -		dmas = <&dmac1 8>, <&dmac1 9>;
> -		dma-names = "tx", "rx";
> -		resets = <&cru SRST_I2S0_2CH_M>, <&cru SRST_I2S0_2CH_H>;
> -		reset-names = "reset-m", "reset-h";
> -		pinctrl-names = "default";
> -		pinctrl-0 = <&i2s_2ch_0_sclk
> -			     &i2s_2ch_0_lrck
> -			     &i2s_2ch_0_sdi
> -			     &i2s_2ch_0_sdo>;
> -		status = "disabled";
> -	};
> -
> -	i2s_2ch_1: i2s@ff360000 {
> -		compatible = "rockchip,rk3308-i2s", "rockchip,rk3066-i2s";
> -		reg = <0x0 0xff360000 0x0 0x1000>;
> -		interrupts = <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>;
> -		clocks = <&cru SCLK_I2S1_2CH>, <&cru HCLK_I2S1_2CH>;
> -		clock-names = "i2s_clk", "i2s_hclk";
> -		dmas = <&dmac1 11>;
> -		dma-names = "rx";
> -		resets = <&cru SRST_I2S1_2CH_M>, <&cru SRST_I2S1_2CH_H>;
> -		reset-names = "reset-m", "reset-h";
> -		status = "disabled";
> -	};
> -
> -	spdif_tx: spdif-tx@ff3a0000 {
> -		compatible = "rockchip,rk3308-spdif", "rockchip,rk3066-spdif";
> -		reg = <0x0 0xff3a0000 0x0 0x1000>;
> -		interrupts = <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>;
> -		clocks = <&cru SCLK_SPDIF_TX>, <&cru HCLK_SPDIFTX>;
> -		clock-names = "mclk", "hclk";
> -		dmas = <&dmac1 13>;
> -		dma-names = "tx";
> -		pinctrl-names = "default";
> -		pinctrl-0 = <&spdif_out>;
> -		status = "disabled";
> -	};
> -
> -	usb20_otg: usb@ff400000 {
> -		compatible = "rockchip,rk3308-usb", "rockchip,rk3066-usb",
> -			     "snps,dwc2";
> -		reg = <0x0 0xff400000 0x0 0x40000>;
> -		interrupts = <GIC_SPI 66 IRQ_TYPE_LEVEL_HIGH>;
> -		clocks = <&cru HCLK_OTG>;
> -		clock-names = "otg";
> -		dr_mode = "otg";
> -		g-np-tx-fifo-size = <16>;
> -		g-rx-fifo-size = <280>;
> -		g-tx-fifo-size = <256 128 128 64 32 16>;
> -		phys = <&u2phy_otg>;
> -		phy-names = "usb2-phy";
> -		status = "disabled";
> -	};
> -
> -	usb_host_ehci: usb@ff440000 {
> -		compatible = "generic-ehci";
> -		reg = <0x0 0xff440000 0x0 0x10000>;
> -		interrupts = <GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>;
> -		clocks = <&cru HCLK_HOST>, <&cru HCLK_HOST_ARB>, <&u2phy>;
> -		phys = <&u2phy_host>;
> -		phy-names = "usb";
> -		status = "disabled";
> -	};
> -
> -	usb_host_ohci: usb@ff450000 {
> -		compatible = "generic-ohci";
> -		reg = <0x0 0xff450000 0x0 0x10000>;
> -		interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>;
> -		clocks = <&cru HCLK_HOST>, <&cru HCLK_HOST_ARB>, <&u2phy>;
> -		phys = <&u2phy_host>;
> -		phy-names = "usb";
> -		status = "disabled";
> -	};
> -
> -	sdmmc: mmc@ff480000 {
> -		compatible = "rockchip,rk3308-dw-mshc", "rockchip,rk3288-dw-mshc";
> -		reg = <0x0 0xff480000 0x0 0x4000>;
> -		interrupts = <GIC_SPI 76 IRQ_TYPE_LEVEL_HIGH>;
> -		bus-width = <4>;
> -		clocks = <&cru HCLK_SDMMC>, <&cru SCLK_SDMMC>,
> -			 <&cru SCLK_SDMMC_DRV>, <&cru SCLK_SDMMC_SAMPLE>;
> -		clock-names = "biu", "ciu", "ciu-drive", "ciu-sample";
> -		fifo-depth = <0x100>;
> -		max-frequency = <150000000>;
> -		pinctrl-names = "default";
> -		pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_det &sdmmc_bus4>;
> -		status = "disabled";
> -	};
> -
> -	emmc: mmc@ff490000 {
> -		compatible = "rockchip,rk3308-dw-mshc", "rockchip,rk3288-dw-mshc";
> -		reg = <0x0 0xff490000 0x0 0x4000>;
> -		interrupts = <GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH>;
> -		bus-width = <8>;
> -		clocks = <&cru HCLK_EMMC>, <&cru SCLK_EMMC>,
> -			 <&cru SCLK_EMMC_DRV>, <&cru SCLK_EMMC_SAMPLE>;
> -		clock-names = "biu", "ciu", "ciu-drive", "ciu-sample";
> -		fifo-depth = <0x100>;
> -		max-frequency = <150000000>;
> -		status = "disabled";
> -	};
> -
> -	sdio: mmc@ff4a0000 {
> -		compatible = "rockchip,rk3308-dw-mshc", "rockchip,rk3288-dw-mshc";
> -		reg = <0x0 0xff4a0000 0x0 0x4000>;
> -		interrupts = <GIC_SPI 78 IRQ_TYPE_LEVEL_HIGH>;
> -		bus-width = <4>;
> -		clocks = <&cru HCLK_SDIO>, <&cru SCLK_SDIO>,
> -			 <&cru SCLK_SDIO_DRV>, <&cru SCLK_SDIO_SAMPLE>;
> -		clock-names = "biu", "ciu", "ciu-drive", "ciu-sample";
> -		fifo-depth = <0x100>;
> -		max-frequency = <150000000>;
> -		pinctrl-names = "default";
> -		pinctrl-0 = <&sdio_bus4 &sdio_cmd &sdio_clk>;
> -		status = "disabled";
> -	};
> -
> -	nfc: nand-controller@ff4b0000 {
> -		compatible = "rockchip,rk3308-nfc",
> -			     "rockchip,rv1108-nfc";
> -		reg = <0x0 0xff4b0000 0x0 0x4000>;
> -		interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>;
> -		clocks = <&cru HCLK_NANDC>, <&cru SCLK_NANDC>;
> -		clock-names = "ahb", "nfc";
> -		assigned-clocks = <&cru SCLK_NANDC>;
> -		assigned-clock-rates = <150000000>;
> -		pinctrl-0 = <&flash_ale &flash_bus8 &flash_cle &flash_csn0
> -			     &flash_rdn &flash_rdy &flash_wrn>;
> -		pinctrl-names = "default";
> -		status = "disabled";
> -	};
> -
> -	gmac: ethernet@ff4e0000 {
> -		compatible = "rockchip,rk3308-gmac";
> -		reg = <0x0 0xff4e0000 0x0 0x10000>;
> -		interrupts = <GIC_SPI 64 IRQ_TYPE_LEVEL_HIGH>;
> -		interrupt-names = "macirq";
> -		clocks = <&cru SCLK_MAC>, <&cru SCLK_MAC_RX_TX>,
> -			 <&cru SCLK_MAC_RX_TX>, <&cru SCLK_MAC_REF>,
> -			 <&cru SCLK_MAC>, <&cru ACLK_MAC>,
> -			 <&cru PCLK_MAC>, <&cru SCLK_MAC_RMII>;
> -		clock-names = "stmmaceth", "mac_clk_rx",
> -			      "mac_clk_tx", "clk_mac_ref",
> -			      "clk_mac_refout", "aclk_mac",
> -			      "pclk_mac", "clk_mac_speed";
> -		phy-mode = "rmii";
> -		pinctrl-names = "default";
> -		pinctrl-0 = <&rmii_pins &mac_refclk_12ma>;
> -		resets = <&cru SRST_MAC_A>;
> -		reset-names = "stmmaceth";
> -		rockchip,grf = <&grf>;
> -		status = "disabled";
> -	};
> -
> -	sfc: spi@ff4c0000 {
> -		compatible = "rockchip,sfc";
> -		reg = <0x0 0xff4c0000 0x0 0x4000>;
> -		interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>;
> -		clocks = <&cru SCLK_SFC>, <&cru HCLK_SFC>;
> -		clock-names = "clk_sfc", "hclk_sfc";
> -		pinctrl-0 = <&sfc_clk &sfc_cs0 &sfc_bus4>;
> -		pinctrl-names = "default";
> -		status = "disabled";
> -	};
> -
> -	cru: clock-controller@ff500000 {
> -		compatible = "rockchip,rk3308-cru";
> -		reg = <0x0 0xff500000 0x0 0x1000>;
> -		clocks = <&xin24m>;
> -		clock-names = "xin24m";
> -		rockchip,grf = <&grf>;
> -		#clock-cells = <1>;
> -		#reset-cells = <1>;
> -		assigned-clocks = <&cru SCLK_RTC32K>;
> -		assigned-clock-rates = <32768>;
> -	};
> -
> -	gic: interrupt-controller@ff580000 {
> -		compatible = "arm,gic-400";
> -		reg = <0x0 0xff581000 0x0 0x1000>,
> -		      <0x0 0xff582000 0x0 0x2000>,
> -		      <0x0 0xff584000 0x0 0x2000>,
> -		      <0x0 0xff586000 0x0 0x2000>;
> -		interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>;
> -		#interrupt-cells = <3>;
> -		interrupt-controller;
> -		#address-cells = <0>;
> -	};
> -
> -	sram: sram@fff80000 {
> -		compatible = "mmio-sram";
> -		reg = <0x0 0xfff80000 0x0 0x40000>;
> -		ranges = <0 0x0 0xfff80000 0x40000>;
> -		#address-cells = <1>;
> -		#size-cells = <1>;
> -
> -		/* reserved for ddr dvfs and system suspend/resume */
> -		ddr-sram@0 {
> -			reg = <0x0 0x8000>;
> -		};
> -
> -		/* reserved for vad audio buffer */
> -		vad_sram: vad-sram@8000 {
> -			reg = <0x8000 0x38000>;
> -		};
> -	};
> -
> -	pinctrl: pinctrl {
> -		compatible = "rockchip,rk3308-pinctrl";
> -		rockchip,grf = <&grf>;
> -		#address-cells = <2>;
> -		#size-cells = <2>;
> -		ranges;
> -
> -		gpio0: gpio@ff220000 {
> -			compatible = "rockchip,gpio-bank";
> -			reg = <0x0 0xff220000 0x0 0x100>;
> -			interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>;
> -			clocks = <&cru PCLK_GPIO0>;
> -			gpio-controller;
> -			#gpio-cells = <2>;
> -			interrupt-controller;
> -			#interrupt-cells = <2>;
> -		};
> -
> -		gpio1: gpio@ff230000 {
> -			compatible = "rockchip,gpio-bank";
> -			reg = <0x0 0xff230000 0x0 0x100>;
> -			interrupts = <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>;
> -			clocks = <&cru PCLK_GPIO1>;
> -			gpio-controller;
> -			#gpio-cells = <2>;
> -			interrupt-controller;
> -			#interrupt-cells = <2>;
> -		};
> -
> -		gpio2: gpio@ff240000 {
> -			compatible = "rockchip,gpio-bank";
> -			reg = <0x0 0xff240000 0x0 0x100>;
> -			interrupts = <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>;
> -			clocks = <&cru PCLK_GPIO2>;
> -			gpio-controller;
> -			#gpio-cells = <2>;
> -			interrupt-controller;
> -			#interrupt-cells = <2>;
> -		};
> -
> -		gpio3: gpio@ff250000 {
> -			compatible = "rockchip,gpio-bank";
> -			reg = <0x0 0xff250000 0x0 0x100>;
> -			interrupts = <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>;
> -			clocks = <&cru PCLK_GPIO3>;
> -			gpio-controller;
> -			#gpio-cells = <2>;
> -			interrupt-controller;
> -			#interrupt-cells = <2>;
> -		};
> -
> -		gpio4: gpio@ff260000 {
> -			compatible = "rockchip,gpio-bank";
> -			reg = <0x0 0xff260000 0x0 0x100>;
> -			interrupts = <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>;
> -			clocks = <&cru PCLK_GPIO4>;
> -			gpio-controller;
> -			#gpio-cells = <2>;
> -			interrupt-controller;
> -			#interrupt-cells = <2>;
> -		};
> -
> -		pcfg_pull_up: pcfg-pull-up {
> -			bias-pull-up;
> -		};
> -
> -		pcfg_pull_down: pcfg-pull-down {
> -			bias-pull-down;
> -		};
> -
> -		pcfg_pull_none: pcfg-pull-none {
> -			bias-disable;
> -		};
> -
> -		pcfg_pull_none_2ma: pcfg-pull-none-2ma {
> -			bias-disable;
> -			drive-strength = <2>;
> -		};
> -
> -		pcfg_pull_up_2ma: pcfg-pull-up-2ma {
> -			bias-pull-up;
> -			drive-strength = <2>;
> -		};
> -
> -		pcfg_pull_up_4ma: pcfg-pull-up-4ma {
> -			bias-pull-up;
> -			drive-strength = <4>;
> -		};
> -
> -		pcfg_pull_none_4ma: pcfg-pull-none-4ma {
> -			bias-disable;
> -			drive-strength = <4>;
> -		};
> -
> -		pcfg_pull_down_4ma: pcfg-pull-down-4ma {
> -			bias-pull-down;
> -			drive-strength = <4>;
> -		};
> -
> -		pcfg_pull_none_8ma: pcfg-pull-none-8ma {
> -			bias-disable;
> -			drive-strength = <8>;
> -		};
> -
> -		pcfg_pull_up_8ma: pcfg-pull-up-8ma {
> -			bias-pull-up;
> -			drive-strength = <8>;
> -		};
> -
> -		pcfg_pull_none_12ma: pcfg-pull-none-12ma {
> -			bias-disable;
> -			drive-strength = <12>;
> -		};
> -
> -		pcfg_pull_up_12ma: pcfg-pull-up-12ma {
> -			bias-pull-up;
> -			drive-strength = <12>;
> -		};
> -
> -		pcfg_pull_none_smt: pcfg-pull-none-smt {
> -			bias-disable;
> -			input-schmitt-enable;
> -		};
> -
> -		pcfg_output_high: pcfg-output-high {
> -			output-high;
> -		};
> -
> -		pcfg_output_low: pcfg-output-low {
> -			output-low;
> -		};
> -
> -		pcfg_input_high: pcfg-input-high {
> -			bias-pull-up;
> -			input-enable;
> -		};
> -
> -		pcfg_input: pcfg-input {
> -			input-enable;
> -		};
> -
> -		emmc {
> -			emmc_clk: emmc-clk {
> -				rockchip,pins =
> -					<3 RK_PB1 2 &pcfg_pull_none_8ma>;
> -			};
> -
> -			emmc_cmd: emmc-cmd {
> -				rockchip,pins =
> -					<3 RK_PB0 2 &pcfg_pull_up_8ma>;
> -			};
> -
> -			emmc_pwren: emmc-pwren {
> -				rockchip,pins =
> -					<3 RK_PB3 2 &pcfg_pull_none>;
> -			};
> -
> -			emmc_rstn: emmc-rstn {
> -				rockchip,pins =
> -					<3 RK_PB2 2 &pcfg_pull_none>;
> -			};
> -
> -			emmc_bus1: emmc-bus1 {
> -				rockchip,pins =
> -					<3 RK_PA0 2 &pcfg_pull_up_8ma>;
> -			};
> -
> -			emmc_bus4: emmc-bus4 {
> -				rockchip,pins =
> -					<3 RK_PA0 2 &pcfg_pull_up_8ma>,
> -					<3 RK_PA1 2 &pcfg_pull_up_8ma>,
> -					<3 RK_PA2 2 &pcfg_pull_up_8ma>,
> -					<3 RK_PA3 2 &pcfg_pull_up_8ma>;
> -			};
> -
> -			emmc_bus8: emmc-bus8 {
> -				rockchip,pins =
> -					<3 RK_PA0 2 &pcfg_pull_up_8ma>,
> -					<3 RK_PA1 2 &pcfg_pull_up_8ma>,
> -					<3 RK_PA2 2 &pcfg_pull_up_8ma>,
> -					<3 RK_PA3 2 &pcfg_pull_up_8ma>,
> -					<3 RK_PA4 2 &pcfg_pull_up_8ma>,
> -					<3 RK_PA5 2 &pcfg_pull_up_8ma>,
> -					<3 RK_PA6 2 &pcfg_pull_up_8ma>,
> -					<3 RK_PA7 2 &pcfg_pull_up_8ma>;
> -			};
> -		};
> -
> -		flash {
> -			flash_csn0: flash-csn0 {
> -				rockchip,pins =
> -					<3 RK_PB5 1 &pcfg_pull_none>;
> -			};
> -
> -			flash_rdy: flash-rdy {
> -				rockchip,pins =
> -					<3 RK_PB4 1 &pcfg_pull_none>;
> -			};
> -
> -			flash_ale: flash-ale {
> -				rockchip,pins =
> -					<3 RK_PB3 1 &pcfg_pull_none>;
> -			};
> -
> -			flash_cle: flash-cle {
> -				rockchip,pins =
> -					<3 RK_PB1 1 &pcfg_pull_none>;
> -			};
> -
> -			flash_wrn: flash-wrn {
> -				rockchip,pins =
> -					<3 RK_PB0 1 &pcfg_pull_none>;
> -			};
> -
> -			flash_rdn: flash-rdn {
> -				rockchip,pins =
> -					<3 RK_PB2 1 &pcfg_pull_none>;
> -			};
> -
> -			flash_bus8: flash-bus8 {
> -				rockchip,pins =
> -					<3 RK_PA0 1 &pcfg_pull_up_12ma>,
> -					<3 RK_PA1 1 &pcfg_pull_up_12ma>,
> -					<3 RK_PA2 1 &pcfg_pull_up_12ma>,
> -					<3 RK_PA3 1 &pcfg_pull_up_12ma>,
> -					<3 RK_PA4 1 &pcfg_pull_up_12ma>,
> -					<3 RK_PA5 1 &pcfg_pull_up_12ma>,
> -					<3 RK_PA6 1 &pcfg_pull_up_12ma>,
> -					<3 RK_PA7 1 &pcfg_pull_up_12ma>;
> -			};
> -		};
> -
> -		sfc {
> -			sfc_bus4: sfc-bus4 {
> -				rockchip,pins =
> -					<3 RK_PA0 3 &pcfg_pull_none>,
> -					<3 RK_PA1 3 &pcfg_pull_none>,
> -					<3 RK_PA2 3 &pcfg_pull_none>,
> -					<3 RK_PA3 3 &pcfg_pull_none>;
> -			};
> -
> -			sfc_bus2: sfc-bus2 {
> -				rockchip,pins =
> -					<3 RK_PA0 3 &pcfg_pull_none>,
> -					<3 RK_PA1 3 &pcfg_pull_none>;
> -			};
> -
> -			sfc_cs0: sfc-cs0 {
> -				rockchip,pins =
> -					<3 RK_PA4 3 &pcfg_pull_none>;
> -			};
> -
> -			sfc_clk: sfc-clk {
> -				rockchip,pins =
> -					<3 RK_PA5 3 &pcfg_pull_none>;
> -			};
> -		};
> -
> -		gmac {
> -			rmii_pins: rmii-pins {
> -				rockchip,pins =
> -					/* mac_txen */
> -					<1 RK_PC1 3 &pcfg_pull_none_12ma>,
> -					/* mac_txd1 */
> -					<1 RK_PC3 3 &pcfg_pull_none_12ma>,
> -					/* mac_txd0 */
> -					<1 RK_PC2 3 &pcfg_pull_none_12ma>,
> -					/* mac_rxd0 */
> -					<1 RK_PC4 3 &pcfg_pull_none>,
> -					/* mac_rxd1 */
> -					<1 RK_PC5 3 &pcfg_pull_none>,
> -					/* mac_rxer */
> -					<1 RK_PB7 3 &pcfg_pull_none>,
> -					/* mac_rxdv */
> -					<1 RK_PC0 3 &pcfg_pull_none>,
> -					/* mac_mdio */
> -					<1 RK_PB6 3 &pcfg_pull_none>,
> -					/* mac_mdc */
> -					<1 RK_PB5 3 &pcfg_pull_none>;
> -			};
> -
> -			mac_refclk_12ma: mac-refclk-12ma {
> -				rockchip,pins =
> -					<1 RK_PB4 3 &pcfg_pull_none_12ma>;
> -			};
> -
> -			mac_refclk: mac-refclk {
> -				rockchip,pins =
> -					<1 RK_PB4 3 &pcfg_pull_none>;
> -			};
> -		};
> -
> -		gmac-m1 {
> -			rmiim1_pins: rmiim1-pins {
> -				rockchip,pins =
> -					/* mac_txen */
> -					<4 RK_PB7 2 &pcfg_pull_none_12ma>,
> -					/* mac_txd1 */
> -					<4 RK_PA5 2 &pcfg_pull_none_12ma>,
> -					/* mac_txd0 */
> -					<4 RK_PA4 2 &pcfg_pull_none_12ma>,
> -					/* mac_rxd0 */
> -					<4 RK_PA2 2 &pcfg_pull_none>,
> -					/* mac_rxd1 */
> -					<4 RK_PA3 2 &pcfg_pull_none>,
> -					/* mac_rxer */
> -					<4 RK_PA0 2 &pcfg_pull_none>,
> -					/* mac_rxdv */
> -					<4 RK_PA1 2 &pcfg_pull_none>,
> -					/* mac_mdio */
> -					<4 RK_PB6 2 &pcfg_pull_none>,
> -					/* mac_mdc */
> -					<4 RK_PB5 2 &pcfg_pull_none>;
> -			};
> -
> -			macm1_refclk_12ma: macm1-refclk-12ma {
> -				rockchip,pins =
> -					<4 RK_PB4 2 &pcfg_pull_none_12ma>;
> -			};
> -
> -			macm1_refclk: macm1-refclk {
> -				rockchip,pins =
> -					<4 RK_PB4 2 &pcfg_pull_none>;
> -			};
> -		};
> -
> -		i2c0 {
> -			i2c0_xfer: i2c0-xfer {
> -				rockchip,pins =
> -					<1 RK_PD0 2 &pcfg_pull_none_smt>,
> -					<1 RK_PD1 2 &pcfg_pull_none_smt>;
> -			};
> -		};
> -
> -		i2c1 {
> -			i2c1_xfer: i2c1-xfer {
> -				rockchip,pins =
> -					<0 RK_PB3 1 &pcfg_pull_none_smt>,
> -					<0 RK_PB4 1 &pcfg_pull_none_smt>;
> -			};
> -		};
> -
> -		i2c2 {
> -			i2c2_xfer: i2c2-xfer {
> -				rockchip,pins =
> -					<2 RK_PA2 3 &pcfg_pull_none_smt>,
> -					<2 RK_PA3 3 &pcfg_pull_none_smt>;
> -			};
> -		};
> -
> -		i2c3-m0 {
> -			i2c3m0_xfer: i2c3m0-xfer {
> -				rockchip,pins =
> -					<0 RK_PB7 2 &pcfg_pull_none_smt>,
> -					<0 RK_PC0 2 &pcfg_pull_none_smt>;
> -			};
> -		};
> -
> -		i2c3-m1 {
> -			i2c3m1_xfer: i2c3m1-xfer {
> -				rockchip,pins =
> -					<3 RK_PB4 2 &pcfg_pull_none_smt>,
> -					<3 RK_PB5 2 &pcfg_pull_none_smt>;
> -			};
> -		};
> -
> -		i2c3-m2 {
> -			i2c3m2_xfer: i2c3m2-xfer {
> -				rockchip,pins =
> -					<2 RK_PA1 3 &pcfg_pull_none_smt>,
> -					<2 RK_PA0 3 &pcfg_pull_none_smt>;
> -			};
> -		};
> -
> -		i2s_2ch_0 {
> -			i2s_2ch_0_mclk: i2s-2ch-0-mclk {
> -				rockchip,pins =
> -					<4 RK_PB4 1 &pcfg_pull_none>;
> -			};
> -
> -			i2s_2ch_0_sclk: i2s-2ch-0-sclk {
> -				rockchip,pins =
> -					<4 RK_PB5 1 &pcfg_pull_none>;
> -			};
> -
> -			i2s_2ch_0_lrck: i2s-2ch-0-lrck {
> -				rockchip,pins =
> -					<4 RK_PB6 1 &pcfg_pull_none>;
> -			};
> -
> -			i2s_2ch_0_sdo: i2s-2ch-0-sdo {
> -				rockchip,pins =
> -					<4 RK_PB7 1 &pcfg_pull_none>;
> -			};
> -
> -			i2s_2ch_0_sdi: i2s-2ch-0-sdi {
> -				rockchip,pins =
> -					<4 RK_PC0 1 &pcfg_pull_none>;
> -			};
> -		};
> -
> -		i2s_8ch_0 {
> -			i2s_8ch_0_mclk: i2s-8ch-0-mclk {
> -				rockchip,pins =
> -					<2 RK_PA4 1 &pcfg_pull_none>;
> -			};
> -
> -			i2s_8ch_0_sclktx: i2s-8ch-0-sclktx {
> -				rockchip,pins =
> -					<2 RK_PA5 1 &pcfg_pull_none>;
> -			};
> -
> -			i2s_8ch_0_sclkrx: i2s-8ch-0-sclkrx {
> -				rockchip,pins =
> -					<2 RK_PA6 1 &pcfg_pull_none>;
> -			};
> -
> -			i2s_8ch_0_lrcktx: i2s-8ch-0-lrcktx {
> -				rockchip,pins =
> -					<2 RK_PA7 1 &pcfg_pull_none>;
> -			};
> -
> -			i2s_8ch_0_lrckrx: i2s-8ch-0-lrckrx {
> -				rockchip,pins =
> -					<2 RK_PB0 1 &pcfg_pull_none>;
> -			};
> -
> -			i2s_8ch_0_sdo0: i2s-8ch-0-sdo0 {
> -				rockchip,pins =
> -					<2 RK_PB1 1 &pcfg_pull_none>;
> -			};
> -
> -			i2s_8ch_0_sdo1: i2s-8ch-0-sdo1 {
> -				rockchip,pins =
> -					<2 RK_PB2 1 &pcfg_pull_none>;
> -			};
> -
> -			i2s_8ch_0_sdo2: i2s-8ch-0-sdo2 {
> -				rockchip,pins =
> -					<2 RK_PB3 1 &pcfg_pull_none>;
> -			};
> -
> -			i2s_8ch_0_sdo3: i2s-8ch-0-sdo3 {
> -				rockchip,pins =
> -					<2 RK_PB4 1 &pcfg_pull_none>;
> -			};
> -
> -			i2s_8ch_0_sdi0: i2s-8ch-0-sdi0 {
> -				rockchip,pins =
> -					<2 RK_PB5 1 &pcfg_pull_none>;
> -			};
> -
> -			i2s_8ch_0_sdi1: i2s-8ch-0-sdi1 {
> -				rockchip,pins =
> -					<2 RK_PB6 1 &pcfg_pull_none>;
> -			};
> -
> -			i2s_8ch_0_sdi2: i2s-8ch-0-sdi2 {
> -				rockchip,pins =
> -					<2 RK_PB7 1 &pcfg_pull_none>;
> -			};
> -
> -			i2s_8ch_0_sdi3: i2s-8ch-0-sdi3 {
> -				rockchip,pins =
> -					<2 RK_PC0 1 &pcfg_pull_none>;
> -			};
> -		};
> -
> -		i2s_8ch_1_m0 {
> -			i2s_8ch_1_m0_mclk: i2s-8ch-1-m0-mclk {
> -				rockchip,pins =
> -					<1 RK_PA2 2 &pcfg_pull_none>;
> -			};
> -
> -			i2s_8ch_1_m0_sclktx: i2s-8ch-1-m0-sclktx {
> -				rockchip,pins =
> -					<1 RK_PA3 2 &pcfg_pull_none>;
> -			};
> -
> -			i2s_8ch_1_m0_sclkrx: i2s-8ch-1-m0-sclkrx {
> -				rockchip,pins =
> -					<1 RK_PA4 2 &pcfg_pull_none>;
> -			};
> -
> -			i2s_8ch_1_m0_lrcktx: i2s-8ch-1-m0-lrcktx {
> -				rockchip,pins =
> -					<1 RK_PA5 2 &pcfg_pull_none>;
> -			};
> -
> -			i2s_8ch_1_m0_lrckrx: i2s-8ch-1-m0-lrckrx {
> -				rockchip,pins =
> -					<1 RK_PA6 2 &pcfg_pull_none>;
> -			};
> -
> -			i2s_8ch_1_m0_sdo0: i2s-8ch-1-m0-sdo0 {
> -				rockchip,pins =
> -					<1 RK_PA7 2 &pcfg_pull_none>;
> -			};
> -
> -			i2s_8ch_1_m0_sdo1_sdi3: i2s-8ch-1-m0-sdo1-sdi3 {
> -				rockchip,pins =
> -					<1 RK_PB0 2 &pcfg_pull_none>;
> -			};
> -
> -			i2s_8ch_1_m0_sdo2_sdi2: i2s-8ch-1-m0-sdo2-sdi2 {
> -				rockchip,pins =
> -					<1 RK_PB1 2 &pcfg_pull_none>;
> -			};
> -
> -			i2s_8ch_1_m0_sdo3_sdi1: i2s-8ch-1-m0-sdo3_sdi1 {
> -				rockchip,pins =
> -					<1 RK_PB2 2 &pcfg_pull_none>;
> -			};
> -
> -			i2s_8ch_1_m0_sdi0: i2s-8ch-1-m0-sdi0 {
> -				rockchip,pins =
> -					<1 RK_PB3 2 &pcfg_pull_none>;
> -			};
> -		};
> -
> -		i2s_8ch_1_m1 {
> -			i2s_8ch_1_m1_mclk: i2s-8ch-1-m1-mclk {
> -				rockchip,pins =
> -					<1 RK_PB4 2 &pcfg_pull_none>;
> -			};
> -
> -			i2s_8ch_1_m1_sclktx: i2s-8ch-1-m1-sclktx {
> -				rockchip,pins =
> -					<1 RK_PB5 2 &pcfg_pull_none>;
> -			};
> -
> -			i2s_8ch_1_m1_sclkrx: i2s-8ch-1-m1-sclkrx {
> -				rockchip,pins =
> -					<1 RK_PB6 2 &pcfg_pull_none>;
> -			};
> -
> -			i2s_8ch_1_m1_lrcktx: i2s-8ch-1-m1-lrcktx {
> -				rockchip,pins =
> -					<1 RK_PB7 2 &pcfg_pull_none>;
> -			};
> -
> -			i2s_8ch_1_m1_lrckrx: i2s-8ch-1-m1-lrckrx {
> -				rockchip,pins =
> -					<1 RK_PC0 2 &pcfg_pull_none>;
> -			};
> -
> -			i2s_8ch_1_m1_sdo0: i2s-8ch-1-m1-sdo0 {
> -				rockchip,pins =
> -					<1 RK_PC1 2 &pcfg_pull_none>;
> -			};
> -
> -			i2s_8ch_1_m1_sdo1_sdi3: i2s-8ch-1-m1-sdo1-sdi3 {
> -				rockchip,pins =
> -					<1 RK_PC2 2 &pcfg_pull_none>;
> -			};
> -
> -			i2s_8ch_1_m1_sdo2_sdi2: i2s-8ch-1-m1-sdo2-sdi2 {
> -				rockchip,pins =
> -					<1 RK_PC3 2 &pcfg_pull_none>;
> -			};
> -
> -			i2s_8ch_1_m1_sdo3_sdi1: i2s-8ch-1-m1-sdo3_sdi1 {
> -				rockchip,pins =
> -					<1 RK_PC4 2 &pcfg_pull_none>;
> -			};
> -
> -			i2s_8ch_1_m1_sdi0: i2s-8ch-1-m1-sdi0 {
> -				rockchip,pins =
> -					<1 RK_PC5 2 &pcfg_pull_none>;
> -			};
> -		};
> -
> -		pdm_m0 {
> -			pdm_m0_clk: pdm-m0-clk {
> -				rockchip,pins =
> -					<1 RK_PA4 3 &pcfg_pull_none>;
> -			};
> -
> -			pdm_m0_sdi0: pdm-m0-sdi0 {
> -				rockchip,pins =
> -					<1 RK_PB3 3 &pcfg_pull_none>;
> -			};
> -
> -			pdm_m0_sdi1: pdm-m0-sdi1 {
> -				rockchip,pins =
> -					<1 RK_PB2 3 &pcfg_pull_none>;
> -			};
> -
> -			pdm_m0_sdi2: pdm-m0-sdi2 {
> -				rockchip,pins =
> -					<1 RK_PB1 3 &pcfg_pull_none>;
> -			};
> -
> -			pdm_m0_sdi3: pdm-m0-sdi3 {
> -				rockchip,pins =
> -					<1 RK_PB0 3 &pcfg_pull_none>;
> -			};
> -		};
> -
> -		pdm_m1 {
> -			pdm_m1_clk: pdm-m1-clk {
> -				rockchip,pins =
> -					<1 RK_PB6 4 &pcfg_pull_none>;
> -			};
> -
> -			pdm_m1_sdi0: pdm-m1-sdi0 {
> -				rockchip,pins =
> -					<1 RK_PC5 4 &pcfg_pull_none>;
> -			};
> -
> -			pdm_m1_sdi1: pdm-m1-sdi1 {
> -				rockchip,pins =
> -					<1 RK_PC4 4 &pcfg_pull_none>;
> -			};
> -
> -			pdm_m1_sdi2: pdm-m1-sdi2 {
> -				rockchip,pins =
> -					<1 RK_PC3 4 &pcfg_pull_none>;
> -			};
> -
> -			pdm_m1_sdi3: pdm-m1-sdi3 {
> -				rockchip,pins =
> -					<1 RK_PC2 4 &pcfg_pull_none>;
> -			};
> -		};
> -
> -		pdm_m2 {
> -			pdm_m2_clkm: pdm-m2-clkm {
> -				rockchip,pins =
> -					<2 RK_PA4 3 &pcfg_pull_none>;
> -			};
> -
> -			pdm_m2_clk: pdm-m2-clk {
> -				rockchip,pins =
> -					<2 RK_PA6 2 &pcfg_pull_none>;
> -			};
> -
> -			pdm_m2_sdi0: pdm-m2-sdi0 {
> -				rockchip,pins =
> -					<2 RK_PB5 2 &pcfg_pull_none>;
> -			};
> -
> -			pdm_m2_sdi1: pdm-m2-sdi1 {
> -				rockchip,pins =
> -					<2 RK_PB6 2 &pcfg_pull_none>;
> -			};
> -
> -			pdm_m2_sdi2: pdm-m2-sdi2 {
> -				rockchip,pins =
> -					<2 RK_PB7 2 &pcfg_pull_none>;
> -			};
> -
> -			pdm_m2_sdi3: pdm-m2-sdi3 {
> -				rockchip,pins =
> -					<2 RK_PC0 2 &pcfg_pull_none>;
> -			};
> -		};
> -
> -		pwm0 {
> -			pwm0_pin: pwm0-pin {
> -				rockchip,pins =
> -					<0 RK_PB5 1 &pcfg_pull_none>;
> -			};
> -
> -			pwm0_pin_pull_down: pwm0-pin-pull-down {
> -				rockchip,pins =
> -					<0 RK_PB5 1 &pcfg_pull_down>;
> -			};
> -		};
> -
> -		pwm1 {
> -			pwm1_pin: pwm1-pin {
> -				rockchip,pins =
> -					<0 RK_PB6 1 &pcfg_pull_none>;
> -			};
> -
> -			pwm1_pin_pull_down: pwm1-pin-pull-down {
> -				rockchip,pins =
> -					<0 RK_PB6 1 &pcfg_pull_down>;
> -			};
> -		};
> -
> -		pwm2 {
> -			pwm2_pin: pwm2-pin {
> -				rockchip,pins =
> -					<0 RK_PB7 1 &pcfg_pull_none>;
> -			};
> -
> -			pwm2_pin_pull_down: pwm2-pin-pull-down {
> -				rockchip,pins =
> -					<0 RK_PB7 1 &pcfg_pull_down>;
> -			};
> -		};
> -
> -		pwm3 {
> -			pwm3_pin: pwm3-pin {
> -				rockchip,pins =
> -					<0 RK_PC0 1 &pcfg_pull_none>;
> -			};
> -
> -			pwm3_pin_pull_down: pwm3-pin-pull-down {
> -				rockchip,pins =
> -					<0 RK_PC0 1 &pcfg_pull_down>;
> -			};
> -		};
> -
> -		pwm4 {
> -			pwm4_pin: pwm4-pin {
> -				rockchip,pins =
> -					<0 RK_PA1 2 &pcfg_pull_none>;
> -			};
> -
> -			pwm4_pin_pull_down: pwm4-pin-pull-down {
> -				rockchip,pins =
> -					<0 RK_PA1 2 &pcfg_pull_down>;
> -			};
> -		};
> -
> -		pwm5 {
> -			pwm5_pin: pwm5-pin {
> -				rockchip,pins =
> -					<0 RK_PC1 2 &pcfg_pull_none>;
> -			};
> -
> -			pwm5_pin_pull_down: pwm5-pin-pull-down {
> -				rockchip,pins =
> -					<0 RK_PC1 2 &pcfg_pull_down>;
> -			};
> -		};
> -
> -		pwm6 {
> -			pwm6_pin: pwm6-pin {
> -				rockchip,pins =
> -					<0 RK_PC2 2 &pcfg_pull_none>;
> -			};
> -
> -			pwm6_pin_pull_down: pwm6-pin-pull-down {
> -				rockchip,pins =
> -					<0 RK_PC2 2 &pcfg_pull_down>;
> -			};
> -		};
> -
> -		pwm7 {
> -			pwm7_pin: pwm7-pin {
> -				rockchip,pins =
> -					<2 RK_PB0 2 &pcfg_pull_none>;
> -			};
> -
> -			pwm7_pin_pull_down: pwm7-pin-pull-down {
> -				rockchip,pins =
> -					<2 RK_PB0 2 &pcfg_pull_down>;
> -			};
> -		};
> -
> -		pwm8 {
> -			pwm8_pin: pwm8-pin {
> -				rockchip,pins =
> -					<2 RK_PB2 2 &pcfg_pull_none>;
> -			};
> -
> -			pwm8_pin_pull_down: pwm8-pin-pull-down {
> -				rockchip,pins =
> -					<2 RK_PB2 2 &pcfg_pull_down>;
> -			};
> -		};
> -
> -		pwm9 {
> -			pwm9_pin: pwm9-pin {
> -				rockchip,pins =
> -					<2 RK_PB3 2 &pcfg_pull_none>;
> -			};
> -
> -			pwm9_pin_pull_down: pwm9-pin-pull-down {
> -				rockchip,pins =
> -					<2 RK_PB3 2 &pcfg_pull_down>;
> -			};
> -		};
> -
> -		pwm10 {
> -			pwm10_pin: pwm10-pin {
> -				rockchip,pins =
> -					<2 RK_PB4 2 &pcfg_pull_none>;
> -			};
> -
> -			pwm10_pin_pull_down: pwm10-pin-pull-down {
> -				rockchip,pins =
> -					<2 RK_PB4 2 &pcfg_pull_down>;
> -			};
> -		};
> -
> -		pwm11 {
> -			pwm11_pin: pwm11-pin {
> -				rockchip,pins =
> -					<2 RK_PC0 4 &pcfg_pull_none>;
> -			};
> -
> -			pwm11_pin_pull_down: pwm11-pin-pull-down {
> -				rockchip,pins =
> -					<2 RK_PC0 4 &pcfg_pull_down>;
> -			};
> -		};
> -
> -		rtc {
> -			rtc_32k: rtc-32k {
> -				rockchip,pins =
> -					<0 RK_PC3 1 &pcfg_pull_none>;
> -			};
> -		};
> -
> -		sdmmc {
> -			sdmmc_clk: sdmmc-clk {
> -				rockchip,pins =
> -					<4 RK_PD5 1 &pcfg_pull_none_4ma>;
> -			};
> -
> -			sdmmc_cmd: sdmmc-cmd {
> -				rockchip,pins =
> -					<4 RK_PD4 1 &pcfg_pull_up_4ma>;
> -			};
> -
> -			sdmmc_det: sdmmc-det {
> -				rockchip,pins =
> -					<0 RK_PA3 1 &pcfg_pull_up_4ma>;
> -			};
> -
> -			sdmmc_pwren: sdmmc-pwren {
> -				rockchip,pins =
> -					<4 RK_PD6 1 &pcfg_pull_none_4ma>;
> -			};
> -
> -			sdmmc_bus1: sdmmc-bus1 {
> -				rockchip,pins =
> -					<4 RK_PD0 1 &pcfg_pull_up_4ma>;
> -			};
> -
> -			sdmmc_bus4: sdmmc-bus4 {
> -				rockchip,pins =
> -					<4 RK_PD0 1 &pcfg_pull_up_4ma>,
> -					<4 RK_PD1 1 &pcfg_pull_up_4ma>,
> -					<4 RK_PD2 1 &pcfg_pull_up_4ma>,
> -					<4 RK_PD3 1 &pcfg_pull_up_4ma>;
> -			};
> -		};
> -
> -		sdio {
> -			sdio_clk: sdio-clk {
> -				rockchip,pins =
> -					<4 RK_PA5 1 &pcfg_pull_none_8ma>;
> -			};
> -
> -			sdio_cmd: sdio-cmd {
> -				rockchip,pins =
> -					<4 RK_PA4 1 &pcfg_pull_up_8ma>;
> -			};
> -
> -			sdio_pwren: sdio-pwren {
> -				rockchip,pins =
> -					<0 RK_PA2 1 &pcfg_pull_none_8ma>;
> -			};
> -
> -			sdio_wrpt: sdio-wrpt {
> -				rockchip,pins =
> -					<0 RK_PA1 1 &pcfg_pull_none_8ma>;
> -			};
> -
> -			sdio_intn: sdio-intn {
> -				rockchip,pins =
> -					<0 RK_PA0 1 &pcfg_pull_none_8ma>;
> -			};
> -
> -			sdio_bus1: sdio-bus1 {
> -				rockchip,pins =
> -					<4 RK_PA0 1 &pcfg_pull_up_8ma>;
> -			};
> -
> -			sdio_bus4: sdio-bus4 {
> -				rockchip,pins =
> -					<4 RK_PA0 1 &pcfg_pull_up_8ma>,
> -					<4 RK_PA1 1 &pcfg_pull_up_8ma>,
> -					<4 RK_PA2 1 &pcfg_pull_up_8ma>,
> -					<4 RK_PA3 1 &pcfg_pull_up_8ma>;
> -			};
> -		};
> -
> -		spdif_in {
> -			spdif_in: spdif-in {
> -				rockchip,pins =
> -					<0 RK_PC2 1 &pcfg_pull_none>;
> -			};
> -		};
> -
> -		spdif_out {
> -			spdif_out: spdif-out {
> -				rockchip,pins =
> -					<0 RK_PC1 1 &pcfg_pull_none>;
> -			};
> -		};
> -
> -		spi0 {
> -			spi0_clk: spi0-clk {
> -				rockchip,pins =
> -					<2 RK_PA2 2 &pcfg_pull_up_4ma>;
> -			};
> -
> -			spi0_csn0: spi0-csn0 {
> -				rockchip,pins =
> -					<2 RK_PA3 2 &pcfg_pull_up_4ma>;
> -			};
> -
> -			spi0_miso: spi0-miso {
> -				rockchip,pins =
> -					<2 RK_PA0 2 &pcfg_pull_up_4ma>;
> -			};
> -
> -			spi0_mosi: spi0-mosi {
> -				rockchip,pins =
> -					<2 RK_PA1 2 &pcfg_pull_up_4ma>;
> -			};
> -		};
> -
> -		spi1 {
> -			spi1_clk: spi1-clk {
> -				rockchip,pins =
> -					<3 RK_PB3 3 &pcfg_pull_up_4ma>;
> -			};
> -
> -			spi1_csn0: spi1-csn0 {
> -				rockchip,pins =
> -					<3 RK_PB5 3 &pcfg_pull_up_4ma>;
> -			};
> -
> -			spi1_miso: spi1-miso {
> -				rockchip,pins =
> -					<3 RK_PB2 3 &pcfg_pull_up_4ma>;
> -			};
> -
> -			spi1_mosi: spi1-mosi {
> -				rockchip,pins =
> -					<3 RK_PB4 3 &pcfg_pull_up_4ma>;
> -			};
> -		};
> -
> -		spi1-m1 {
> -			spi1m1_miso: spi1m1-miso {
> -				rockchip,pins =
> -					<2 RK_PA4 2 &pcfg_pull_up_4ma>;
> -			};
> -
> -			spi1m1_mosi: spi1m1-mosi {
> -				rockchip,pins =
> -					<2 RK_PA5 2 &pcfg_pull_up_4ma>;
> -			};
> -
> -			spi1m1_clk: spi1m1-clk {
> -				rockchip,pins =
> -					<2 RK_PA7 2 &pcfg_pull_up_4ma>;
> -			};
> -
> -			spi1m1_csn0: spi1m1-csn0 {
> -				rockchip,pins =
> -					<2 RK_PB1 2 &pcfg_pull_up_4ma>;
> -			};
> -		};
> -
> -		spi2 {
> -			spi2_clk: spi2-clk {
> -				rockchip,pins =
> -					<1 RK_PD0 3 &pcfg_pull_up_4ma>;
> -			};
> -
> -			spi2_csn0: spi2-csn0 {
> -				rockchip,pins =
> -					<1 RK_PD1 3 &pcfg_pull_up_4ma>;
> -			};
> -
> -			spi2_miso: spi2-miso {
> -				rockchip,pins =
> -					<1 RK_PC6 3 &pcfg_pull_up_4ma>;
> -			};
> -
> -			spi2_mosi: spi2-mosi {
> -				rockchip,pins =
> -					<1 RK_PC7 3 &pcfg_pull_up_4ma>;
> -			};
> -		};
> -
> -		tsadc {
> -			tsadc_otp_pin: tsadc-otp-pin {
> -				rockchip,pins =
> -					<0 RK_PB2 0 &pcfg_pull_none>;
> -			};
> -
> -			tsadc_otp_out: tsadc-otp-out {
> -				rockchip,pins =
> -					<0 RK_PB2 1 &pcfg_pull_none>;
> -			};
> -		};
> -
> -		uart0 {
> -			uart0_xfer: uart0-xfer {
> -				rockchip,pins =
> -					<2 RK_PA1 1 &pcfg_pull_up>,
> -					<2 RK_PA0 1 &pcfg_pull_up>;
> -			};
> -
> -			uart0_cts: uart0-cts {
> -				rockchip,pins =
> -					<2 RK_PA2 1 &pcfg_pull_none>;
> -			};
> -
> -			uart0_rts: uart0-rts {
> -				rockchip,pins =
> -					<2 RK_PA3 1 &pcfg_pull_none>;
> -			};
> -
> -			uart0_rts_pin: uart0-rts-pin {
> -				rockchip,pins =
> -					<2 RK_PA3 0 &pcfg_pull_none>;
> -			};
> -		};
> -
> -		uart1 {
> -			uart1_xfer: uart1-xfer {
> -				rockchip,pins =
> -					<1 RK_PD1 1 &pcfg_pull_up>,
> -					<1 RK_PD0 1 &pcfg_pull_up>;
> -			};
> -
> -			uart1_cts: uart1-cts {
> -				rockchip,pins =
> -					<1 RK_PC6 1 &pcfg_pull_none>;
> -			};
> -
> -			uart1_rts: uart1-rts {
> -				rockchip,pins =
> -					<1 RK_PC7 1 &pcfg_pull_none>;
> -			};
> -		};
> -
> -		uart2-m0 {
> -			uart2m0_xfer: uart2m0-xfer {
> -				rockchip,pins =
> -					<1 RK_PC7 2 &pcfg_pull_up>,
> -					<1 RK_PC6 2 &pcfg_pull_up>;
> -			};
> -		};
> -
> -		uart2-m1 {
> -			uart2m1_xfer: uart2m1-xfer {
> -				rockchip,pins =
> -					<4 RK_PD3 2 &pcfg_pull_up>,
> -					<4 RK_PD2 2 &pcfg_pull_up>;
> -			};
> -		};
> -
> -		uart3 {
> -			uart3_xfer: uart3-xfer {
> -				rockchip,pins =
> -					<3 RK_PB5 4 &pcfg_pull_up>,
> -					<3 RK_PB4 4 &pcfg_pull_up>;
> -			};
> -		};
> -
> -		uart3-m1 {
> -			uart3m1_xfer: uart3m1-xfer {
> -				rockchip,pins =
> -					<0 RK_PC2 3 &pcfg_pull_up>,
> -					<0 RK_PC1 3 &pcfg_pull_up>;
> -			};
> -		};
> -
> -		uart4 {
> -			uart4_xfer: uart4-xfer {
> -				rockchip,pins =
> -					<4 RK_PB1 1 &pcfg_pull_up>,
> -					<4 RK_PB0 1 &pcfg_pull_up>;
> -			};
> -
> -			uart4_cts: uart4-cts {
> -				rockchip,pins =
> -					<4 RK_PA6 1 &pcfg_pull_none>;
> -			};
> -
> -			uart4_rts: uart4-rts {
> -				rockchip,pins =
> -					<4 RK_PA7 1 &pcfg_pull_none>;
> -			};
> -
> -			uart4_rts_pin: uart4-rts-pin {
> -				rockchip,pins =
> -					<4 RK_PA7 0 &pcfg_pull_none>;
> -			};
> -		};
> -	};
> -};
> diff --git a/include/dt-bindings/clock/rk3308-cru.h b/include/dt-bindings/clock/rk3308-cru.h
> deleted file mode 100644
> index d97840f9ee2e..000000000000
> --- a/include/dt-bindings/clock/rk3308-cru.h
> +++ /dev/null
> @@ -1,387 +0,0 @@
> -/* SPDX-License-Identifier: GPL-2.0 */
> -/*
> - * Copyright (c) 2019 Rockchip Electronics Co. Ltd.
> - * Author: Finley Xiao <finley.xiao@rock-chips.com>
> - */
> -
> -#ifndef _DT_BINDINGS_CLK_ROCKCHIP_RK3308_H
> -#define _DT_BINDINGS_CLK_ROCKCHIP_RK3308_H
> -
> -/* core clocks */
> -#define PLL_APLL		1
> -#define PLL_DPLL		2
> -#define PLL_VPLL0		3
> -#define PLL_VPLL1		4
> -#define ARMCLK			5
> -
> -/* sclk (special clocks) */
> -#define USB480M			14
> -#define SCLK_RTC32K		15
> -#define SCLK_PVTM_CORE		16
> -#define SCLK_UART0		17
> -#define SCLK_UART1		18
> -#define SCLK_UART2		19
> -#define SCLK_UART3		20
> -#define SCLK_UART4		21
> -#define SCLK_I2C0		22
> -#define SCLK_I2C1		23
> -#define SCLK_I2C2		24
> -#define SCLK_I2C3		25
> -#define SCLK_PWM0		26
> -#define SCLK_SPI0		27
> -#define SCLK_SPI1		28
> -#define SCLK_SPI2		29
> -#define SCLK_TIMER0		30
> -#define SCLK_TIMER1		31
> -#define SCLK_TIMER2		32
> -#define SCLK_TIMER3		33
> -#define SCLK_TIMER4		34
> -#define SCLK_TIMER5		35
> -#define SCLK_TSADC		36
> -#define SCLK_SARADC		37
> -#define SCLK_OTP		38
> -#define SCLK_OTP_USR		39
> -#define SCLK_CPU_BOOST		40
> -#define SCLK_CRYPTO		41
> -#define SCLK_CRYPTO_APK		42
> -#define SCLK_NANDC_DIV		43
> -#define SCLK_NANDC_DIV50	44
> -#define SCLK_NANDC		45
> -#define SCLK_SDMMC_DIV		46
> -#define SCLK_SDMMC_DIV50	47
> -#define SCLK_SDMMC		48
> -#define SCLK_SDMMC_DRV		49
> -#define SCLK_SDMMC_SAMPLE	50
> -#define SCLK_SDIO_DIV		51
> -#define SCLK_SDIO_DIV50		52
> -#define SCLK_SDIO		53
> -#define SCLK_SDIO_DRV		54
> -#define SCLK_SDIO_SAMPLE	55
> -#define SCLK_EMMC_DIV		56
> -#define SCLK_EMMC_DIV50		57
> -#define SCLK_EMMC		58
> -#define SCLK_EMMC_DRV		59
> -#define SCLK_EMMC_SAMPLE	60
> -#define SCLK_SFC		61
> -#define SCLK_OTG_ADP		62
> -#define SCLK_MAC_SRC		63
> -#define SCLK_MAC		64
> -#define SCLK_MAC_REF		65
> -#define SCLK_MAC_RX_TX		66
> -#define SCLK_MAC_RMII		67
> -#define SCLK_DDR_MON_TIMER	68
> -#define SCLK_DDR_MON		69
> -#define SCLK_DDRCLK		70
> -#define SCLK_PMU		71
> -#define SCLK_USBPHY_REF		72
> -#define SCLK_WIFI		73
> -#define SCLK_PVTM_PMU		74
> -#define SCLK_PDM		75
> -#define SCLK_I2S0_8CH_TX	76
> -#define SCLK_I2S0_8CH_TX_OUT	77
> -#define SCLK_I2S0_8CH_RX	78
> -#define SCLK_I2S0_8CH_RX_OUT	79
> -#define SCLK_I2S1_8CH_TX	80
> -#define SCLK_I2S1_8CH_TX_OUT	81
> -#define SCLK_I2S1_8CH_RX	82
> -#define SCLK_I2S1_8CH_RX_OUT	83
> -#define SCLK_I2S2_8CH_TX	84
> -#define SCLK_I2S2_8CH_TX_OUT	85
> -#define SCLK_I2S2_8CH_RX	86
> -#define SCLK_I2S2_8CH_RX_OUT	87
> -#define SCLK_I2S3_8CH_TX	88
> -#define SCLK_I2S3_8CH_TX_OUT	89
> -#define SCLK_I2S3_8CH_RX	90
> -#define SCLK_I2S3_8CH_RX_OUT	91
> -#define SCLK_I2S0_2CH		92
> -#define SCLK_I2S0_2CH_OUT	93
> -#define SCLK_I2S1_2CH		94
> -#define SCLK_I2S1_2CH_OUT	95
> -#define SCLK_SPDIF_TX_DIV	96
> -#define SCLK_SPDIF_TX_DIV50	97
> -#define SCLK_SPDIF_TX		98
> -#define SCLK_SPDIF_RX_DIV	99
> -#define SCLK_SPDIF_RX_DIV50	100
> -#define SCLK_SPDIF_RX		101
> -#define SCLK_I2S0_8CH_TX_MUX	102
> -#define SCLK_I2S0_8CH_RX_MUX	103
> -#define SCLK_I2S1_8CH_TX_MUX	104
> -#define SCLK_I2S1_8CH_RX_MUX	105
> -#define SCLK_I2S2_8CH_TX_MUX	106
> -#define SCLK_I2S2_8CH_RX_MUX	107
> -#define SCLK_I2S3_8CH_TX_MUX	108
> -#define SCLK_I2S3_8CH_RX_MUX	109
> -#define SCLK_I2S0_8CH_TX_SRC	110
> -#define SCLK_I2S0_8CH_RX_SRC	111
> -#define SCLK_I2S1_8CH_TX_SRC	112
> -#define SCLK_I2S1_8CH_RX_SRC	113
> -#define SCLK_I2S2_8CH_TX_SRC	114
> -#define SCLK_I2S2_8CH_RX_SRC	115
> -#define SCLK_I2S3_8CH_TX_SRC	116
> -#define SCLK_I2S3_8CH_RX_SRC	117
> -#define SCLK_I2S0_2CH_SRC	118
> -#define SCLK_I2S1_2CH_SRC	119
> -#define SCLK_PWM1		120
> -#define SCLK_PWM2		121
> -#define SCLK_OWIRE		122
> -
> -/* dclk */
> -#define DCLK_VOP		125
> -
> -/* aclk */
> -#define ACLK_BUS_SRC		130
> -#define ACLK_BUS		131
> -#define ACLK_PERI_SRC		132
> -#define ACLK_PERI		133
> -#define ACLK_MAC		134
> -#define ACLK_CRYPTO		135
> -#define ACLK_VOP		136
> -#define ACLK_GIC		137
> -#define ACLK_DMAC0		138
> -#define ACLK_DMAC1		139
> -
> -/* hclk */
> -#define HCLK_BUS		150
> -#define HCLK_PERI		151
> -#define HCLK_AUDIO		152
> -#define HCLK_NANDC		153
> -#define HCLK_SDMMC		154
> -#define HCLK_SDIO		155
> -#define HCLK_EMMC		156
> -#define HCLK_SFC		157
> -#define HCLK_OTG		158
> -#define HCLK_HOST		159
> -#define HCLK_HOST_ARB		160
> -#define HCLK_PDM		161
> -#define HCLK_SPDIFTX		162
> -#define HCLK_SPDIFRX		163
> -#define HCLK_I2S0_8CH		164
> -#define HCLK_I2S1_8CH		165
> -#define HCLK_I2S2_8CH		166
> -#define HCLK_I2S3_8CH		167
> -#define HCLK_I2S0_2CH		168
> -#define HCLK_I2S1_2CH		169
> -#define HCLK_VAD		170
> -#define HCLK_CRYPTO		171
> -#define HCLK_VOP		172
> -
> -/* pclk */
> -#define PCLK_BUS		190
> -#define PCLK_DDR		191
> -#define PCLK_PERI		192
> -#define PCLK_PMU		193
> -#define PCLK_AUDIO		194
> -#define PCLK_MAC		195
> -#define PCLK_ACODEC		196
> -#define PCLK_UART0		197
> -#define PCLK_UART1		198
> -#define PCLK_UART2		199
> -#define PCLK_UART3		200
> -#define PCLK_UART4		201
> -#define PCLK_I2C0		202
> -#define PCLK_I2C1		203
> -#define PCLK_I2C2		204
> -#define PCLK_I2C3		205
> -#define PCLK_PWM0		206
> -#define PCLK_SPI0		207
> -#define PCLK_SPI1		208
> -#define PCLK_SPI2		209
> -#define PCLK_SARADC		210
> -#define PCLK_TSADC		211
> -#define PCLK_TIMER		212
> -#define PCLK_OTP_NS		213
> -#define PCLK_WDT		214
> -#define PCLK_GPIO0		215
> -#define PCLK_GPIO1		216
> -#define PCLK_GPIO2		217
> -#define PCLK_GPIO3		218
> -#define PCLK_GPIO4		219
> -#define PCLK_SGRF		220
> -#define PCLK_GRF		221
> -#define PCLK_USBSD_DET		222
> -#define PCLK_DDR_UPCTL		223
> -#define PCLK_DDR_MON		224
> -#define PCLK_DDRPHY		225
> -#define PCLK_DDR_STDBY		226
> -#define PCLK_USB_GRF		227
> -#define PCLK_CRU		228
> -#define PCLK_OTP_PHY		229
> -#define PCLK_CPU_BOOST		230
> -#define PCLK_PWM1		231
> -#define PCLK_PWM2		232
> -#define PCLK_CAN		233
> -#define PCLK_OWIRE		234
> -
> -#define CLK_NR_CLKS		(PCLK_OWIRE + 1)
> -
> -/* soft-reset indices */
> -
> -/* cru_softrst_con0 */
> -#define SRST_CORE0_PO		0
> -#define SRST_CORE1_PO		1
> -#define SRST_CORE2_PO		2
> -#define SRST_CORE3_PO		3
> -#define SRST_CORE0		4
> -#define SRST_CORE1		5
> -#define SRST_CORE2		6
> -#define SRST_CORE3		7
> -#define SRST_CORE0_DBG		8
> -#define SRST_CORE1_DBG		9
> -#define SRST_CORE2_DBG		10
> -#define SRST_CORE3_DBG		11
> -#define SRST_TOPDBG		12
> -#define SRST_CORE_NOC		13
> -#define SRST_STRC_A		14
> -#define SRST_L2C		15
> -
> -/* cru_softrst_con1 */
> -#define SRST_DAP		16
> -#define SRST_CORE_PVTM		17
> -#define SRST_CORE_PRF		18
> -#define SRST_CORE_GRF		19
> -#define SRST_DDRUPCTL		20
> -#define SRST_DDRUPCTL_P		22
> -#define SRST_MSCH		23
> -#define SRST_DDRMON_P		25
> -#define SRST_DDRSTDBY_P		26
> -#define SRST_DDRSTDBY		27
> -#define SRST_DDRPHY		28
> -#define SRST_DDRPHY_DIV		29
> -#define SRST_DDRPHY_P		30
> -
> -/* cru_softrst_con2 */
> -#define SRST_BUS_NIU_H		32
> -#define SRST_USB_NIU_P		33
> -#define SRST_CRYPTO_A		34
> -#define SRST_CRYPTO_H		35
> -#define SRST_CRYPTO		36
> -#define SRST_CRYPTO_APK		37
> -#define SRST_VOP_A		38
> -#define SRST_VOP_H		39
> -#define SRST_VOP_D		40
> -#define SRST_INTMEM_A		41
> -#define SRST_ROM_H		42
> -#define SRST_GIC_A		43
> -#define SRST_UART0_P		44
> -#define SRST_UART0		45
> -#define SRST_UART1_P		46
> -#define SRST_UART1		47
> -
> -/* cru_softrst_con3 */
> -#define SRST_UART2_P		48
> -#define SRST_UART2		49
> -#define SRST_UART3_P		50
> -#define SRST_UART3		51
> -#define SRST_UART4_P		52
> -#define SRST_UART4		53
> -#define SRST_I2C0_P		54
> -#define SRST_I2C0		55
> -#define SRST_I2C1_P		56
> -#define SRST_I2C1		57
> -#define SRST_I2C2_P		58
> -#define SRST_I2C2		59
> -#define SRST_I2C3_P		60
> -#define SRST_I2C3		61
> -#define SRST_PWM0_P		62
> -#define SRST_PWM0		63
> -
> -/* cru_softrst_con4 */
> -#define SRST_SPI0_P		64
> -#define SRST_SPI0		65
> -#define SRST_SPI1_P		66
> -#define SRST_SPI1		67
> -#define SRST_SPI2_P		68
> -#define SRST_SPI2		69
> -#define SRST_SARADC_P		70
> -#define SRST_TSADC_P		71
> -#define SRST_TSADC		72
> -#define SRST_TIMER0_P		73
> -#define SRST_TIMER0		74
> -#define SRST_TIMER1		75
> -#define SRST_TIMER2		76
> -#define SRST_TIMER3		77
> -#define SRST_TIMER4		78
> -#define SRST_TIMER5		79
> -
> -/* cru_softrst_con5 */
> -#define SRST_OTP_NS_P		80
> -#define SRST_OTP_NS_SBPI	81
> -#define SRST_OTP_NS_USR		82
> -#define SRST_OTP_PHY_P		83
> -#define SRST_OTP_PHY		84
> -#define SRST_GPIO0_P		86
> -#define SRST_GPIO1_P		87
> -#define SRST_GPIO2_P		88
> -#define SRST_GPIO3_P		89
> -#define SRST_GPIO4_P		90
> -#define SRST_GRF_P		91
> -#define SRST_USBSD_DET_P	92
> -#define SRST_PMU		93
> -#define SRST_PMU_PVTM		94
> -#define SRST_USB_GRF_P		95
> -
> -/* cru_softrst_con6 */
> -#define SRST_CPU_BOOST		96
> -#define SRST_CPU_BOOST_P	97
> -#define SRST_PWM1_P		98
> -#define SRST_PWM1		99
> -#define SRST_PWM2_P		100
> -#define SRST_PWM2		101
> -#define SRST_PERI_NIU_A		104
> -#define SRST_PERI_NIU_H		105
> -#define SRST_PERI_NIU_p		106
> -#define SRST_USB2OTG_H		107
> -#define SRST_USB2OTG		108
> -#define SRST_USB2OTG_ADP	109
> -#define SRST_USB2HOST_H		110
> -#define SRST_USB2HOST_ARB_H	111
> -
> -/* cru_softrst_con7 */
> -#define SRST_USB2HOST_AUX_H	112
> -#define SRST_USB2HOST_EHCI	113
> -#define SRST_USB2HOST		114
> -#define SRST_USBPHYPOR		115
> -#define SRST_UTMI0		116
> -#define SRST_UTMI1		117
> -#define SRST_SDIO_H		118
> -#define SRST_EMMC_H		119
> -#define SRST_SFC_H		120
> -#define SRST_SFC		121
> -#define SRST_SD_H		122
> -#define SRST_NANDC_H		123
> -#define SRST_NANDC_N		124
> -#define SRST_MAC_A		125
> -#define SRST_CAN_P		126
> -#define SRST_OWIRE_P		127
> -
> -/* cru_softrst_con8 */
> -#define SRST_AUDIO_NIU_H	128
> -#define SRST_AUDIO_NIU_P	129
> -#define SRST_PDM_H		130
> -#define SRST_PDM_M		131
> -#define SRST_SPDIFTX_H		132
> -#define SRST_SPDIFTX_M		133
> -#define SRST_SPDIFRX_H		134
> -#define SRST_SPDIFRX_M		135
> -#define SRST_I2S0_8CH_H		136
> -#define SRST_I2S0_8CH_TX_M	137
> -#define SRST_I2S0_8CH_RX_M	138
> -#define SRST_I2S1_8CH_H		139
> -#define SRST_I2S1_8CH_TX_M	140
> -#define SRST_I2S1_8CH_RX_M	141
> -#define SRST_I2S2_8CH_H		142
> -#define SRST_I2S2_8CH_TX_M	143
> -
> -/* cru_softrst_con9 */
> -#define SRST_I2S2_8CH_RX_M	144
> -#define SRST_I2S3_8CH_H		145
> -#define SRST_I2S3_8CH_TX_M	146
> -#define SRST_I2S3_8CH_RX_M	147
> -#define SRST_I2S0_2CH_H		148
> -#define SRST_I2S0_2CH_M		149
> -#define SRST_I2S1_2CH_H		150
> -#define SRST_I2S1_2CH_M		151
> -#define SRST_VAD_H		152
> -#define SRST_ACODEC_P		153
> -
> -#endif
diff mbox series

Patch

diff --git a/arch/arm/dts/rk3308-evb.dts b/arch/arm/dts/rk3308-evb.dts
deleted file mode 100644
index 184b84fdde07..000000000000
--- a/arch/arm/dts/rk3308-evb.dts
+++ /dev/null
@@ -1,230 +0,0 @@ 
-// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
-/*
- * Copyright (c) 2019 Fuzhou Rockchip Electronics Co., Ltd
- *
- */
-
-/dts-v1/;
-#include <dt-bindings/input/input.h>
-#include "rk3308.dtsi"
-
-/ {
-	model = "Rockchip RK3308 EVB";
-	compatible = "rockchip,rk3308-evb", "rockchip,rk3308";
-
-	chosen {
-		stdout-path = "serial4:1500000n8";
-	};
-
-	adc-keys0 {
-		compatible = "adc-keys";
-		io-channels = <&saradc 0>;
-		io-channel-names = "buttons";
-		poll-interval = <100>;
-		keyup-threshold-microvolt = <1800000>;
-
-		button-func {
-			linux,code = <KEY_FN>;
-			label = "function";
-			press-threshold-microvolt = <18000>;
-		};
-	};
-
-	adc-keys1 {
-		compatible = "adc-keys";
-		io-channels = <&saradc 1>;
-		io-channel-names = "buttons";
-		poll-interval = <100>;
-		keyup-threshold-microvolt = <1800000>;
-
-		button-esc {
-			linux,code = <KEY_MICMUTE>;
-			label = "micmute";
-			press-threshold-microvolt = <1130000>;
-		};
-
-		button-home {
-			linux,code = <KEY_MODE>;
-			label = "mode";
-			press-threshold-microvolt = <901000>;
-		};
-
-		button-menu {
-			linux,code = <KEY_PLAY>;
-			label = "play";
-			press-threshold-microvolt = <624000>;
-		};
-
-		button-down {
-			linux,code = <KEY_VOLUMEDOWN>;
-			label = "volume down";
-			press-threshold-microvolt = <300000>;
-		};
-
-		button-up {
-			linux,code = <KEY_VOLUMEUP>;
-			label = "volume up";
-			press-threshold-microvolt = <18000>;
-		};
-	};
-
-	gpio-keys {
-		compatible = "gpio-keys";
-		autorepeat;
-
-		pinctrl-names = "default";
-		pinctrl-0 = <&pwr_key>;
-
-		key-power {
-			gpios = <&gpio0 RK_PA6 GPIO_ACTIVE_LOW>;
-			linux,code = <KEY_POWER>;
-			label = "GPIO Key Power";
-			debounce-interval = <100>;
-			wakeup-source;
-		};
-	};
-
-	vcc12v_dcin: vcc12v-dcin {
-		compatible = "regulator-fixed";
-		regulator-name = "vcc12v_dcin";
-		regulator-min-microvolt = <12000000>;
-		regulator-max-microvolt = <12000000>;
-		regulator-always-on;
-		regulator-boot-on;
-	};
-
-	vcc5v0_sys: vcc5v0-sys {
-		compatible = "regulator-fixed";
-		regulator-name = "vcc5v0_sys";
-		regulator-min-microvolt = <5000000>;
-		regulator-max-microvolt = <5000000>;
-		regulator-always-on;
-		regulator-boot-on;
-		vin-supply = <&vcc12v_dcin>;
-	};
-
-	vccio_sdio: vcc_1v8: vcc-1v8 {
-		compatible = "regulator-fixed";
-		regulator-name = "vcc_1v8";
-		regulator-min-microvolt = <1800000>;
-		regulator-max-microvolt = <1800000>;
-		regulator-always-on;
-		regulator-boot-on;
-		vin-supply = <&vcc_io>;
-	};
-
-	vcc_ddr: vcc-ddr {
-		compatible = "regulator-fixed";
-		regulator-name = "vcc_ddr";
-		regulator-min-microvolt = <1500000>;
-		regulator-max-microvolt = <1500000>;
-		regulator-always-on;
-		regulator-boot-on;
-		vin-supply = <&vcc5v0_sys>;
-	};
-
-	vcc_io: vcc-io {
-		compatible = "regulator-fixed";
-		regulator-name = "vcc_io";
-		regulator-min-microvolt = <3300000>;
-		regulator-max-microvolt = <3300000>;
-		regulator-always-on;
-		regulator-boot-on;
-		vin-supply = <&vcc5v0_sys>;
-	};
-
-	vccio_flash: vccio-flash {
-		compatible = "regulator-fixed";
-		regulator-name = "vccio_flash";
-		regulator-min-microvolt = <3300000>;
-		regulator-max-microvolt = <3300000>;
-		regulator-always-on;
-		regulator-boot-on;
-		vin-supply = <&vcc_io>;
-	};
-
-	vcc5v0_host: vcc5v0-host {
-		compatible = "regulator-fixed";
-		gpio = <&gpio0 RK_PC5 GPIO_ACTIVE_HIGH>;
-		enable-active-high;
-		pinctrl-names = "default";
-		pinctrl-0 = <&usb_drv>;
-		regulator-name = "vbus_host";
-		vin-supply = <&vcc5v0_sys>;
-	};
-
-	vdd_core: vdd-core {
-		compatible = "pwm-regulator";
-		pwms = <&pwm0 0 5000 1>;
-		regulator-name = "vdd_core";
-		regulator-min-microvolt = <827000>;
-		regulator-max-microvolt = <1340000>;
-		regulator-always-on;
-		regulator-boot-on;
-		regulator-settling-time-up-us = <250>;
-		pwm-supply = <&vcc5v0_sys>;
-	};
-
-	vdd_log: vdd-log {
-		compatible = "regulator-fixed";
-		regulator-name = "vdd_log";
-		regulator-min-microvolt = <1050000>;
-		regulator-max-microvolt = <1050000>;
-		regulator-always-on;
-		regulator-boot-on;
-		vin-supply = <&vcc5v0_sys>;
-	};
-
-	vdd_1v0: vdd-1v0 {
-		compatible = "regulator-fixed";
-		regulator-name = "vdd_1v0";
-		regulator-min-microvolt = <1000000>;
-		regulator-max-microvolt = <1000000>;
-		regulator-always-on;
-		regulator-boot-on;
-		vin-supply = <&vcc5v0_sys>;
-	};
-};
-
-&cpu0 {
-	cpu-supply = <&vdd_core>;
-};
-
-&saradc {
-	status = "okay";
-	vref-supply = <&vcc_1v8>;
-};
-
-&pinctrl {
-	pinctrl-names = "default";
-	pinctrl-0 = <&rtc_32k>;
-
-	buttons {
-		pwr_key: pwr-key {
-			rockchip,pins = <0 RK_PA6 0 &pcfg_pull_up>;
-		};
-	};
-
-	usb {
-		usb_drv: usb-drv {
-			rockchip,pins = <0 RK_PC5 0 &pcfg_pull_none>;
-		};
-	};
-
-	sdio-pwrseq {
-		wifi_enable_h: wifi-enable-h {
-			rockchip,pins = <0 RK_PA2 0 &pcfg_pull_none>;
-		};
-	};
-};
-
-&pwm0 {
-	status = "okay";
-	pinctrl-0 = <&pwm0_pin_pull_down>;
-};
-
-&uart4 {
-	pinctrl-names = "default";
-	pinctrl-0 = <&uart4_xfer>;
-	status = "okay";
-};
diff --git a/arch/arm/dts/rk3308-roc-cc.dts b/arch/arm/dts/rk3308-roc-cc.dts
deleted file mode 100644
index 9232357f4fec..000000000000
--- a/arch/arm/dts/rk3308-roc-cc.dts
+++ /dev/null
@@ -1,190 +0,0 @@ 
-// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
-/*
- * Copyright (c) 2019 Fuzhou Rockchip Electronics Co., Ltd
- */
-
-/dts-v1/;
-#include "rk3308.dtsi"
-
-/ {
-	model = "Firefly ROC-RK3308-CC board";
-	compatible = "firefly,roc-rk3308-cc", "rockchip,rk3308";
-
-	aliases {
-		mmc0 = &sdmmc;
-		mmc1 = &emmc;
-	};
-
-	chosen {
-		stdout-path = "serial2:1500000n8";
-	};
-
-	ir-receiver {
-		compatible = "gpio-ir-receiver";
-		gpios = <&gpio0 RK_PC0 GPIO_ACTIVE_HIGH>;
-		pinctrl-names = "default";
-		pinctrl-0 = <&ir_recv_pin>;
-	};
-
-	ir_tx {
-		compatible = "pwm-ir-tx";
-		pwms = <&pwm5 0 25000 0>;
-	};
-
-	leds {
-		compatible = "gpio-leds";
-
-		power_led: led-0 {
-			label = "firefly:red:power";
-			linux,default-trigger = "ir-power-click";
-			default-state = "on";
-			gpios = <&gpio0 RK_PA6 GPIO_ACTIVE_HIGH>;
-		};
-
-		user_led: led-1 {
-			label = "firefly:blue:user";
-			linux,default-trigger = "ir-user-click";
-			default-state = "off";
-			gpios = <&gpio0 RK_PB2 GPIO_ACTIVE_HIGH>;
-		};
-	};
-
-	typec_vcc5v: typec-vcc5v {
-		compatible = "regulator-fixed";
-		regulator-name = "typec_vcc5v";
-		regulator-min-microvolt = <5000000>;
-		regulator-max-microvolt = <5000000>;
-		regulator-always-on;
-		regulator-boot-on;
-	};
-
-	vcc5v0_sys: vcc5v0-sys {
-		compatible = "regulator-fixed";
-		regulator-name = "vcc5v0_sys";
-		regulator-min-microvolt = <5000000>;
-		regulator-max-microvolt = <5000000>;
-		regulator-always-on;
-		regulator-boot-on;
-		vin-supply = <&typec_vcc5v>;
-	};
-
-	vcc_io: vcc-io {
-		compatible = "regulator-fixed";
-		regulator-name = "vcc_io";
-		regulator-min-microvolt = <3300000>;
-		regulator-max-microvolt = <3300000>;
-		regulator-always-on;
-		regulator-boot-on;
-		vin-supply = <&vcc5v0_sys>;
-	};
-
-	vcc_sdmmc: vcc-sdmmc {
-		compatible = "regulator-gpio";
-		regulator-name = "vcc_sdmmc";
-		regulator-min-microvolt = <1800000>;
-		regulator-max-microvolt = <3300000>;
-		gpios = <&gpio0 RK_PA7 GPIO_ACTIVE_HIGH>;
-		states = <1800000 0x0>,
-			 <3300000 0x1>;
-		vin-supply = <&vcc5v0_sys>;
-	};
-
-	vcc_sd: vcc-sd {
-		compatible = "regulator-fixed";
-		gpio = <&gpio4 RK_PD6 GPIO_ACTIVE_LOW>;
-		regulator-name = "vcc_sd";
-		regulator-min-microvolt = <3300000>;
-		regulator-max-microvolt = <3300000>;
-		regulator-always-on;
-		regulator-boot-on;
-		vin-supply = <&vcc_io>;
-	};
-
-	vdd_core: vdd-core {
-		compatible = "pwm-regulator";
-		pwms = <&pwm0 0 5000 1>;
-		regulator-name = "vdd_core";
-		regulator-min-microvolt = <827000>;
-		regulator-max-microvolt = <1340000>;
-		regulator-settling-time-up-us = <250>;
-		regulator-always-on;
-		regulator-boot-on;
-		pwm-supply = <&vcc5v0_sys>;
-	};
-
-	vdd_log: vdd-log {
-		compatible = "regulator-fixed";
-		regulator-name = "vdd_log";
-		regulator-min-microvolt = <1050000>;
-		regulator-max-microvolt = <1050000>;
-		regulator-always-on;
-		regulator-boot-on;
-		vin-supply = <&vcc5v0_sys>;
-	};
-};
-
-&cpu0 {
-	cpu-supply = <&vdd_core>;
-};
-
-&emmc {
-	cap-mmc-highspeed;
-	mmc-hs200-1_8v;
-	non-removable;
-	status = "okay";
-};
-
-&i2c1 {
-	clock-frequency = <400000>;
-	status = "okay";
-
-	rtc: rtc@51 {
-		compatible = "nxp,pcf8563";
-		reg = <0x51>;
-		#clock-cells = <0>;
-	};
-};
-
-&pwm5 {
-	status = "okay";
-	pinctrl-names = "active";
-	pinctrl-0 = <&pwm5_pin_pull_down>;
-};
-
-&pinctrl {
-	pinctrl-names = "default";
-	pinctrl-0 = <&rtc_32k>;
-
-	ir-receiver {
-		ir_recv_pin: ir-recv-pin  {
-			rockchip,pins = <0 RK_PC0 RK_FUNC_GPIO &pcfg_pull_none>;
-		};
-	};
-
-	buttons {
-		pwr_key: pwr-key {
-			rockchip,pins = <0 RK_PA6 RK_FUNC_GPIO &pcfg_pull_up>;
-		};
-	};
-};
-
-&pwm0 {
-	status = "okay";
-	pinctrl-0 = <&pwm0_pin_pull_down>;
-};
-
-&sdmmc {
-	cap-mmc-highspeed;
-	cap-sd-highspeed;
-	card-detect-delay = <300>;
-	sd-uhs-sdr25;
-	sd-uhs-sdr50;
-	sd-uhs-sdr104;
-	vmmc-supply = <&vcc_sd>;
-	vqmmc-supply = <&vcc_sdmmc>;
-	status = "okay";
-};
-
-&uart2 {
-	status = "okay";
-};
diff --git a/arch/arm/dts/rk3308-rock-pi-s.dts b/arch/arm/dts/rk3308-rock-pi-s.dts
deleted file mode 100644
index b47fe02c33fb..000000000000
--- a/arch/arm/dts/rk3308-rock-pi-s.dts
+++ /dev/null
@@ -1,314 +0,0 @@ 
-// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
-/*
- * Copyright (c) 2019 Akash Gajjar <akash@openedev.com>
- * Copyright (c) 2019 Jagan Teki <jagan@openedev.com>
- */
-
-/dts-v1/;
-#include "rk3308.dtsi"
-
-/ {
-	model = "Radxa ROCK Pi S";
-	compatible = "radxa,rockpis", "rockchip,rk3308";
-
-	aliases {
-		ethernet0 = &gmac;
-		mmc0 = &emmc;
-		mmc1 = &sdmmc;
-	};
-
-	chosen {
-		stdout-path = "serial0:1500000n8";
-	};
-
-	leds {
-		compatible = "gpio-leds";
-		pinctrl-names = "default";
-		pinctrl-0 = <&green_led_gio>, <&heartbeat_led_gpio>;
-
-		green-led {
-			default-state = "on";
-			gpios = <&gpio0 RK_PA6 GPIO_ACTIVE_HIGH>;
-			label = "rockpis:green:power";
-			linux,default-trigger = "default-on";
-		};
-
-		blue-led {
-			default-state = "on";
-			gpios = <&gpio0 RK_PA5 GPIO_ACTIVE_HIGH>;
-			label = "rockpis:blue:user";
-			linux,default-trigger = "heartbeat";
-		};
-	};
-
-	sdio_pwrseq: sdio-pwrseq {
-		compatible = "mmc-pwrseq-simple";
-		pinctrl-0 = <&wifi_enable_h>;
-		pinctrl-names = "default";
-		reset-gpios = <&gpio0 RK_PA2 GPIO_ACTIVE_LOW>;
-	};
-
-	vcc_1v8: vcc-1v8 {
-		compatible = "regulator-fixed";
-		regulator-name = "vcc_1v8";
-		regulator-always-on;
-		regulator-boot-on;
-		regulator-min-microvolt = <1800000>;
-		regulator-max-microvolt = <1800000>;
-		vin-supply = <&vcc_io>;
-	};
-
-	vcc_io: vcc-io {
-		compatible = "regulator-fixed";
-		regulator-name = "vcc_io";
-		regulator-always-on;
-		regulator-boot-on;
-		regulator-min-microvolt = <3300000>;
-		regulator-max-microvolt = <3300000>;
-		vin-supply = <&vcc5v0_sys>;
-	};
-
-	vcc_ddr: vcc-ddr {
-		compatible = "regulator-fixed";
-		regulator-name = "vcc_ddr";
-		regulator-always-on;
-		regulator-boot-on;
-		regulator-min-microvolt = <1500000>;
-		regulator-max-microvolt = <1500000>;
-		vin-supply = <&vcc5v0_sys>;
-	};
-
-	vcc5v0_otg: vcc5v0-otg {
-		compatible = "regulator-fixed";
-		enable-active-high;
-		gpio = <&gpio0 RK_PC5 GPIO_ACTIVE_HIGH>;
-		pinctrl-names = "default";
-		pinctrl-0 = <&otg_vbus_drv>;
-		regulator-name = "vcc5v0_otg";
-		regulator-always-on;
-		vin-supply = <&vcc5v0_sys>;
-	};
-
-	vcc5v0_sys: vcc5v0-sys {
-		compatible = "regulator-fixed";
-		regulator-name = "vcc5v0_sys";
-		regulator-always-on;
-		regulator-boot-on;
-		regulator-min-microvolt = <5000000>;
-		regulator-max-microvolt = <5000000>;
-	};
-
-	vdd_core: vdd-core {
-		compatible = "pwm-regulator";
-		pwms = <&pwm0 0 5000 1>;
-		pwm-supply = <&vcc5v0_sys>;
-		regulator-name = "vdd_core";
-		regulator-min-microvolt = <827000>;
-		regulator-max-microvolt = <1340000>;
-		regulator-settling-time-up-us = <250>;
-		regulator-always-on;
-		regulator-boot-on;
-	};
-
-	vdd_log: vdd-log {
-		compatible = "regulator-fixed";
-		regulator-name = "vdd_log";
-		regulator-always-on;
-		regulator-boot-on;
-		regulator-min-microvolt = <1050000>;
-		regulator-max-microvolt = <1050000>;
-		vin-supply = <&vcc5v0_sys>;
-	};
-};
-
-&cpu0 {
-	cpu-supply = <&vdd_core>;
-};
-
-&emmc {
-	bus-width = <4>;
-	cap-mmc-highspeed;
-	mmc-hs200-1_8v;
-	non-removable;
-	vmmc-supply = <&vcc_io>;
-	status = "okay";
-};
-
-&gmac {
-	clock_in_out = "output";
-	phy-supply = <&vcc_io>;
-	snps,reset-gpio = <&gpio0 RK_PA7 GPIO_ACTIVE_LOW>;
-	snps,reset-active-low;
-	snps,reset-delays-us = <0 50000 50000>;
-	status = "okay";
-};
-
-&gpio0 {
-	gpio-line-names =
-		/* GPIO0_A0 - A7 */
-		"", "", "", "", "", "", "", "",
-		/* GPIO0_B0 - B7 */
-		"", "", "", "header1-pin3 [GPIO0_B3]",
-		"header1-pin5 [GPIO0_B4]", "", "",
-		"header1-pin11 [GPIO0_B7]",
-		/* GPIO0_C0 - C7 */
-		"header1-pin13 [GPIO0_C0]",
-		"header1-pin15 [GPIO0_C1]", "", "", "",
-		"", "", "",
-		/* GPIO0_D0 - D7 */
-		"", "", "", "", "", "", "", "";
-};
-
-&gpio1 {
-	gpio-line-names =
-		/* GPIO1_A0 - A7 */
-		"", "", "", "", "", "", "", "",
-		/* GPIO1_B0 - B7 */
-		"", "", "", "", "", "", "", "",
-		/* GPIO1_C0 - C7 */
-		"", "", "", "", "", "", "header1-pin21 [GPIO1_C6]",
-		"header1-pin19 [GPIO1_C7]",
-		/* GPIO1_D0 - D7 */
-		"header1-pin23 [GPIO1_D0]", "header1-pin24 [GPIO1_D1]",
-		"", "", "", "", "", "";
-};
-
-&gpio2 {
-	gpio-line-names =
-		/* GPIO2_A0 - A7 */
-		"header1-pin10 [GPIO2_A0]", "header1-pin8 [GPIO2_A1]",
-		"", "",
-		"header1-pin7 [GPIO2_A4]", "header1-pin12 [GPIO2_A5]",
-		"header2-pin46 [GPIO2_A6]", "header1-pin22 [GPIO1_A7]",
-		/* GPIO2_B0 - B7 */
-		"header2-pin45 [GPIO2_B0]", "header1-pin18 [GPIO2_B1]",
-		"header1-pin16 [GPIO2_B2]", "header2-pin44 [GPIO2_B3]",
-		"header2-pin43 [GPIO2_B4]", "header2-pin28 [GPIO2_B5]",
-		"header2-pin30 [GPIO2_B6]", "header2-pin32 [GPIO2_B7]",
-		/* GPIO2_C0 - C7 */
-		"header2-pin34 [GPIO2_C0]", "", "", "", "", "", "", "",
-		/* GPIO2_D0 - D7 */
-		"", "", "", "", "", "", "", "";
-};
-
-&gpio3 {
-	gpio-line-names =
-		/* GPIO3_A0 - A7 */
-		"", "", "", "", "", "", "", "",
-		/* GPIO3_B0 - B7 */
-		"", "", "header2-pin42 [GPIO3_B2]",
-		"header2-pin41 [GPIO3_B3]", "header2-pin40 [GPIO3_B4]",
-		"header2-pin39 [GPIO3_B5]", "", "",
-		/* GPIO3_C0 - C7 */
-		"", "", "", "", "", "", "", "",
-		/* GPIO3_D0 - D7 */
-		"", "", "", "", "", "", "", "";
-};
-
-&i2c1 {
-	status = "okay";
-};
-
-&pinctrl {
-	pinctrl-names = "default";
-	pinctrl-0 = <&rtc_32k>;
-
-	leds {
-		green_led_gio: green-led-gpio {
-			rockchip,pins = <0 RK_PA6 RK_FUNC_GPIO &pcfg_pull_none>;
-		};
-
-		heartbeat_led_gpio: heartbeat-led-gpio {
-			rockchip,pins = <0 RK_PA5 RK_FUNC_GPIO &pcfg_pull_none>;
-		};
-	};
-
-	usb {
-		otg_vbus_drv: otg-vbus-drv {
-			rockchip,pins = <0 RK_PC5 RK_FUNC_GPIO &pcfg_pull_none>;
-		};
-	};
-
-	sdio-pwrseq {
-		wifi_enable_h: wifi-enable-h {
-			rockchip,pins = <0 RK_PA2 RK_FUNC_GPIO &pcfg_pull_none>;
-		};
-
-		wifi_host_wake: wifi-host-wake {
-			rockchip,pins = <0 RK_PA0 RK_FUNC_GPIO &pcfg_pull_down>;
-		};
-	};
-};
-
-&pwm0 {
-	status = "okay";
-	pinctrl-0 = <&pwm0_pin_pull_down>;
-};
-
-&saradc {
-	vref-supply = <&vcc_1v8>;
-	status = "okay";
-};
-
-&sdio {
-	#address-cells = <1>;
-	#size-cells = <0>;
-	cap-sd-highspeed;
-	cap-sdio-irq;
-	keep-power-in-suspend;
-	max-frequency = <1000000>;
-	mmc-pwrseq = <&sdio_pwrseq>;
-	non-removable;
-	sd-uhs-sdr104;
-	status = "okay";
-};
-
-&sdmmc {
-	cap-sd-highspeed;
-	status = "okay";
-};
-
-&u2phy {
-	status = "okay";
-
-	u2phy_host: host-port {
-		phy-supply = <&vcc5v0_otg>;
-		status = "okay";
-	};
-
-	u2phy_otg: otg-port {
-		phy-supply = <&vcc5v0_otg>;
-		status = "okay";
-	};
-};
-
-&uart0 {
-	status = "okay";
-};
-
-&uart4 {
-	status = "okay";
-
-	bluetooth {
-		compatible = "realtek,rtl8723bs-bt";
-		device-wake-gpios = <&gpio4 RK_PB3 GPIO_ACTIVE_HIGH>;
-		host-wake-gpios = <&gpio4 RK_PB4 GPIO_ACTIVE_HIGH>;
-	};
-};
-
-&usb_host_ehci {
-	status = "okay";
-};
-
-&usb_host_ohci {
-	status = "okay";
-};
-
-&usb20_otg {
-	dr_mode = "peripheral";
-	status = "okay";
-};
-
-&wdt {
-	status = "okay";
-};
diff --git a/arch/arm/dts/rk3308.dtsi b/arch/arm/dts/rk3308.dtsi
deleted file mode 100644
index cfc0a87b5195..000000000000
--- a/arch/arm/dts/rk3308.dtsi
+++ /dev/null
@@ -1,1888 +0,0 @@ 
-// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
-/*
- * Copyright (c) 2019 Fuzhou Rockchip Electronics Co., Ltd
- *
- */
-
-#include <dt-bindings/clock/rk3308-cru.h>
-#include <dt-bindings/gpio/gpio.h>
-#include <dt-bindings/interrupt-controller/arm-gic.h>
-#include <dt-bindings/interrupt-controller/irq.h>
-#include <dt-bindings/pinctrl/rockchip.h>
-#include <dt-bindings/soc/rockchip,boot-mode.h>
-#include <dt-bindings/thermal/thermal.h>
-
-/ {
-	compatible = "rockchip,rk3308";
-
-	interrupt-parent = <&gic>;
-	#address-cells = <2>;
-	#size-cells = <2>;
-
-	aliases {
-		gpio0 = &gpio0;
-		gpio1 = &gpio1;
-		gpio2 = &gpio2;
-		gpio3 = &gpio3;
-		gpio4 = &gpio4;
-		i2c0 = &i2c0;
-		i2c1 = &i2c1;
-		i2c2 = &i2c2;
-		i2c3 = &i2c3;
-		serial0 = &uart0;
-		serial1 = &uart1;
-		serial2 = &uart2;
-		serial3 = &uart3;
-		serial4 = &uart4;
-		spi0 = &spi0;
-		spi1 = &spi1;
-		spi2 = &spi2;
-	};
-
-	cpus {
-		#address-cells = <2>;
-		#size-cells = <0>;
-
-		cpu0: cpu@0 {
-			device_type = "cpu";
-			compatible = "arm,cortex-a35";
-			reg = <0x0 0x0>;
-			enable-method = "psci";
-			clocks = <&cru ARMCLK>;
-			#cooling-cells = <2>;
-			dynamic-power-coefficient = <90>;
-			operating-points-v2 = <&cpu0_opp_table>;
-			cpu-idle-states = <&CPU_SLEEP>;
-			next-level-cache = <&l2>;
-		};
-
-		cpu1: cpu@1 {
-			device_type = "cpu";
-			compatible = "arm,cortex-a35";
-			reg = <0x0 0x1>;
-			enable-method = "psci";
-			operating-points-v2 = <&cpu0_opp_table>;
-			cpu-idle-states = <&CPU_SLEEP>;
-			next-level-cache = <&l2>;
-		};
-
-		cpu2: cpu@2 {
-			device_type = "cpu";
-			compatible = "arm,cortex-a35";
-			reg = <0x0 0x2>;
-			enable-method = "psci";
-			operating-points-v2 = <&cpu0_opp_table>;
-			cpu-idle-states = <&CPU_SLEEP>;
-			next-level-cache = <&l2>;
-		};
-
-		cpu3: cpu@3 {
-			device_type = "cpu";
-			compatible = "arm,cortex-a35";
-			reg = <0x0 0x3>;
-			enable-method = "psci";
-			operating-points-v2 = <&cpu0_opp_table>;
-			cpu-idle-states = <&CPU_SLEEP>;
-			next-level-cache = <&l2>;
-		};
-
-		idle-states {
-			entry-method = "psci";
-
-			CPU_SLEEP: cpu-sleep {
-				compatible = "arm,idle-state";
-				local-timer-stop;
-				arm,psci-suspend-param = <0x0010000>;
-				entry-latency-us = <120>;
-				exit-latency-us = <250>;
-				min-residency-us = <900>;
-			};
-		};
-
-		l2: l2-cache {
-			compatible = "cache";
-			cache-level = <2>;
-			cache-unified;
-		};
-	};
-
-	cpu0_opp_table: opp-table-0 {
-		compatible = "operating-points-v2";
-		opp-shared;
-
-		opp-408000000 {
-			opp-hz = /bits/ 64 <408000000>;
-			opp-microvolt = <950000 950000 1340000>;
-			clock-latency-ns = <40000>;
-			opp-suspend;
-		};
-		opp-600000000 {
-			opp-hz = /bits/ 64 <600000000>;
-			opp-microvolt = <950000 950000 1340000>;
-			clock-latency-ns = <40000>;
-		};
-		opp-816000000 {
-			opp-hz = /bits/ 64 <816000000>;
-			opp-microvolt = <1025000 1025000 1340000>;
-			clock-latency-ns = <40000>;
-		};
-		opp-1008000000 {
-			opp-hz = /bits/ 64 <1008000000>;
-			opp-microvolt = <1125000 1125000 1340000>;
-			clock-latency-ns = <40000>;
-		};
-	};
-
-	arm-pmu {
-		compatible = "arm,cortex-a35-pmu";
-		interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>,
-			     <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>,
-			     <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>,
-			     <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;
-		interrupt-affinity = <&cpu0>, <&cpu1>, <&cpu2>, <&cpu3>;
-	};
-
-	mac_clkin: external-mac-clock {
-		compatible = "fixed-clock";
-		clock-frequency = <50000000>;
-		clock-output-names = "mac_clkin";
-		#clock-cells = <0>;
-	};
-
-	psci {
-		compatible = "arm,psci-1.0";
-		method = "smc";
-	};
-
-	timer {
-		compatible = "arm,armv8-timer";
-		interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>,
-			     <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>,
-			     <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>,
-			     <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>;
-	};
-
-	xin24m: xin24m {
-		compatible = "fixed-clock";
-		#clock-cells = <0>;
-		clock-frequency = <24000000>;
-		clock-output-names = "xin24m";
-	};
-
-	grf: grf@ff000000 {
-		compatible = "rockchip,rk3308-grf", "syscon", "simple-mfd";
-		reg = <0x0 0xff000000 0x0 0x08000>;
-
-		reboot-mode {
-			compatible = "syscon-reboot-mode";
-			offset = <0x500>;
-			mode-bootloader = <BOOT_BL_DOWNLOAD>;
-			mode-loader = <BOOT_BL_DOWNLOAD>;
-			mode-normal = <BOOT_NORMAL>;
-			mode-recovery = <BOOT_RECOVERY>;
-			mode-fastboot = <BOOT_FASTBOOT>;
-		};
-	};
-
-	usb2phy_grf: syscon@ff008000 {
-		compatible = "rockchip,rk3308-usb2phy-grf", "syscon", "simple-mfd";
-		reg = <0x0 0xff008000 0x0 0x4000>;
-		#address-cells = <1>;
-		#size-cells = <1>;
-
-		u2phy: usb2phy@100 {
-			compatible = "rockchip,rk3308-usb2phy";
-			reg = <0x100 0x10>;
-			assigned-clocks = <&cru USB480M>;
-			assigned-clock-parents = <&u2phy>;
-			clocks = <&cru SCLK_USBPHY_REF>;
-			clock-names = "phyclk";
-			clock-output-names = "usb480m_phy";
-			#clock-cells = <0>;
-			status = "disabled";
-
-			u2phy_otg: otg-port {
-				interrupts = <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>,
-					     <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>,
-					     <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>;
-				interrupt-names = "otg-bvalid", "otg-id",
-						  "linestate";
-				#phy-cells = <0>;
-				status = "disabled";
-			};
-
-			u2phy_host: host-port {
-				interrupts = <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>;
-				interrupt-names = "linestate";
-				#phy-cells = <0>;
-				status = "disabled";
-			};
-		};
-	};
-
-	detect_grf: syscon@ff00b000 {
-		compatible = "rockchip,rk3308-detect-grf", "syscon", "simple-mfd";
-		reg = <0x0 0xff00b000 0x0 0x1000>;
-		#address-cells = <1>;
-		#size-cells = <1>;
-	};
-
-	core_grf: syscon@ff00c000 {
-		compatible = "rockchip,rk3308-core-grf", "syscon", "simple-mfd";
-		reg = <0x0 0xff00c000 0x0 0x1000>;
-		#address-cells = <1>;
-		#size-cells = <1>;
-	};
-
-	i2c0: i2c@ff040000 {
-		compatible = "rockchip,rk3308-i2c", "rockchip,rk3399-i2c";
-		reg = <0x0 0xff040000 0x0 0x1000>;
-		clocks = <&cru SCLK_I2C0>, <&cru PCLK_I2C0>;
-		clock-names = "i2c", "pclk";
-		interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
-		pinctrl-names = "default";
-		pinctrl-0 = <&i2c0_xfer>;
-		#address-cells = <1>;
-		#size-cells = <0>;
-		status = "disabled";
-	};
-
-	i2c1: i2c@ff050000 {
-		compatible = "rockchip,rk3308-i2c", "rockchip,rk3399-i2c";
-		reg = <0x0 0xff050000 0x0 0x1000>;
-		clocks = <&cru SCLK_I2C1>, <&cru PCLK_I2C1>;
-		clock-names = "i2c", "pclk";
-		interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
-		pinctrl-names = "default";
-		pinctrl-0 = <&i2c1_xfer>;
-		#address-cells = <1>;
-		#size-cells = <0>;
-		status = "disabled";
-	};
-
-	i2c2: i2c@ff060000 {
-		compatible = "rockchip,rk3308-i2c", "rockchip,rk3399-i2c";
-		reg = <0x0 0xff060000 0x0 0x1000>;
-		clocks = <&cru SCLK_I2C2>, <&cru PCLK_I2C2>;
-		clock-names = "i2c", "pclk";
-		interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>;
-		pinctrl-names = "default";
-		pinctrl-0 = <&i2c2_xfer>;
-		#address-cells = <1>;
-		#size-cells = <0>;
-		status = "disabled";
-	};
-
-	i2c3: i2c@ff070000 {
-		compatible = "rockchip,rk3308-i2c", "rockchip,rk3399-i2c";
-		reg = <0x0 0xff070000 0x0 0x1000>;
-		clocks = <&cru SCLK_I2C3>, <&cru PCLK_I2C3>;
-		clock-names = "i2c", "pclk";
-		interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
-		pinctrl-names = "default";
-		pinctrl-0 = <&i2c3m0_xfer>;
-		#address-cells = <1>;
-		#size-cells = <0>;
-		status = "disabled";
-	};
-
-	wdt: watchdog@ff080000 {
-		compatible = "rockchip,rk3308-wdt", "snps,dw-wdt";
-		reg = <0x0 0xff080000 0x0 0x100>;
-		clocks = <&cru PCLK_WDT>;
-		interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
-		status = "disabled";
-	};
-
-	uart0: serial@ff0a0000 {
-		compatible = "rockchip,rk3308-uart", "snps,dw-apb-uart";
-		reg = <0x0 0xff0a0000 0x0 0x100>;
-		interrupts = <GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH>;
-		clocks = <&cru SCLK_UART0>, <&cru PCLK_UART0>;
-		clock-names = "baudclk", "apb_pclk";
-		reg-shift = <2>;
-		reg-io-width = <4>;
-		pinctrl-names = "default";
-		pinctrl-0 = <&uart0_xfer &uart0_cts &uart0_rts>;
-		status = "disabled";
-	};
-
-	uart1: serial@ff0b0000 {
-		compatible = "rockchip,rk3308-uart", "snps,dw-apb-uart";
-		reg = <0x0 0xff0b0000 0x0 0x100>;
-		interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>;
-		clocks = <&cru SCLK_UART1>, <&cru PCLK_UART1>;
-		clock-names = "baudclk", "apb_pclk";
-		reg-shift = <2>;
-		reg-io-width = <4>;
-		pinctrl-names = "default";
-		pinctrl-0 = <&uart1_xfer &uart1_cts &uart1_rts>;
-		status = "disabled";
-	};
-
-	uart2: serial@ff0c0000 {
-		compatible = "rockchip,rk3308-uart", "snps,dw-apb-uart";
-		reg = <0x0 0xff0c0000 0x0 0x100>;
-		interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>;
-		clocks = <&cru SCLK_UART2>, <&cru PCLK_UART2>;
-		clock-names = "baudclk", "apb_pclk";
-		reg-shift = <2>;
-		reg-io-width = <4>;
-		pinctrl-names = "default";
-		pinctrl-0 = <&uart2m0_xfer>;
-		status = "disabled";
-	};
-
-	uart3: serial@ff0d0000 {
-		compatible = "rockchip,rk3308-uart", "snps,dw-apb-uart";
-		reg = <0x0 0xff0d0000 0x0 0x100>;
-		interrupts = <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>;
-		clocks = <&cru SCLK_UART3>, <&cru PCLK_UART3>;
-		clock-names = "baudclk", "apb_pclk";
-		reg-shift = <2>;
-		reg-io-width = <4>;
-		pinctrl-names = "default";
-		pinctrl-0 = <&uart3_xfer>;
-		status = "disabled";
-	};
-
-	uart4: serial@ff0e0000 {
-		compatible = "rockchip,rk3308-uart", "snps,dw-apb-uart";
-		reg = <0x0 0xff0e0000 0x0 0x100>;
-		interrupts = <GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>;
-		clocks = <&cru SCLK_UART4>, <&cru PCLK_UART4>;
-		clock-names = "baudclk", "apb_pclk";
-		reg-shift = <2>;
-		reg-io-width = <4>;
-		pinctrl-names = "default";
-		pinctrl-0 = <&uart4_xfer &uart4_cts &uart4_rts>;
-		status = "disabled";
-	};
-
-	spi0: spi@ff120000 {
-		compatible = "rockchip,rk3308-spi", "rockchip,rk3066-spi";
-		reg = <0x0 0xff120000 0x0 0x1000>;
-		interrupts = <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>;
-		#address-cells = <1>;
-		#size-cells = <0>;
-		clocks = <&cru SCLK_SPI0>, <&cru PCLK_SPI0>;
-		clock-names = "spiclk", "apb_pclk";
-		dmas = <&dmac0 0>, <&dmac0 1>;
-		dma-names = "tx", "rx";
-		pinctrl-names = "default";
-		pinctrl-0 = <&spi0_clk &spi0_csn0 &spi0_miso &spi0_mosi>;
-		status = "disabled";
-	};
-
-	spi1: spi@ff130000 {
-		compatible = "rockchip,rk3308-spi", "rockchip,rk3066-spi";
-		reg = <0x0 0xff130000 0x0 0x1000>;
-		interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
-		#address-cells = <1>;
-		#size-cells = <0>;
-		clocks = <&cru SCLK_SPI1>, <&cru PCLK_SPI1>;
-		clock-names = "spiclk", "apb_pclk";
-		dmas = <&dmac0 2>, <&dmac0 3>;
-		dma-names = "tx", "rx";
-		pinctrl-names = "default";
-		pinctrl-0 = <&spi1_clk &spi1_csn0 &spi1_miso &spi1_mosi>;
-		status = "disabled";
-	};
-
-	spi2: spi@ff140000 {
-		compatible = "rockchip,rk3308-spi", "rockchip,rk3066-spi";
-		reg = <0x0 0xff140000 0x0 0x1000>;
-		interrupts = <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>;
-		#address-cells = <1>;
-		#size-cells = <0>;
-		clocks = <&cru SCLK_SPI2>, <&cru PCLK_SPI2>;
-		clock-names = "spiclk", "apb_pclk";
-		dmas = <&dmac1 16>, <&dmac1 17>;
-		dma-names = "tx", "rx";
-		pinctrl-names = "default";
-		pinctrl-0 = <&spi2_clk &spi2_csn0 &spi2_miso &spi2_mosi>;
-		status = "disabled";
-	};
-
-	pwm8: pwm@ff160000 {
-		compatible = "rockchip,rk3308-pwm", "rockchip,rk3328-pwm";
-		reg = <0x0 0xff160000 0x0 0x10>;
-		clocks = <&cru SCLK_PWM2>, <&cru PCLK_PWM2>;
-		clock-names = "pwm", "pclk";
-		pinctrl-names = "default";
-		pinctrl-0 = <&pwm8_pin>;
-		#pwm-cells = <3>;
-		status = "disabled";
-	};
-
-	pwm9: pwm@ff160010 {
-		compatible = "rockchip,rk3308-pwm", "rockchip,rk3328-pwm";
-		reg = <0x0 0xff160010 0x0 0x10>;
-		clocks = <&cru SCLK_PWM2>, <&cru PCLK_PWM2>;
-		clock-names = "pwm", "pclk";
-		pinctrl-names = "default";
-		pinctrl-0 = <&pwm9_pin>;
-		#pwm-cells = <3>;
-		status = "disabled";
-	};
-
-	pwm10: pwm@ff160020 {
-		compatible = "rockchip,rk3308-pwm", "rockchip,rk3328-pwm";
-		reg = <0x0 0xff160020 0x0 0x10>;
-		clocks = <&cru SCLK_PWM2>, <&cru PCLK_PWM2>;
-		clock-names = "pwm", "pclk";
-		pinctrl-names = "default";
-		pinctrl-0 = <&pwm10_pin>;
-		#pwm-cells = <3>;
-		status = "disabled";
-	};
-
-	pwm11: pwm@ff160030 {
-		compatible = "rockchip,rk3308-pwm", "rockchip,rk3328-pwm";
-		reg = <0x0 0xff160030 0x0 0x10>;
-		clocks = <&cru SCLK_PWM2>, <&cru PCLK_PWM2>;
-		clock-names = "pwm", "pclk";
-		pinctrl-names = "default";
-		pinctrl-0 = <&pwm11_pin>;
-		#pwm-cells = <3>;
-		status = "disabled";
-	};
-
-	pwm4: pwm@ff170000 {
-		compatible = "rockchip,rk3308-pwm", "rockchip,rk3328-pwm";
-		reg = <0x0 0xff170000 0x0 0x10>;
-		clocks = <&cru SCLK_PWM1>, <&cru PCLK_PWM1>;
-		clock-names = "pwm", "pclk";
-		pinctrl-names = "default";
-		pinctrl-0 = <&pwm4_pin>;
-		#pwm-cells = <3>;
-		status = "disabled";
-	};
-
-	pwm5: pwm@ff170010 {
-		compatible = "rockchip,rk3308-pwm", "rockchip,rk3328-pwm";
-		reg = <0x0 0xff170010 0x0 0x10>;
-		clocks = <&cru SCLK_PWM1>, <&cru PCLK_PWM1>;
-		clock-names = "pwm", "pclk";
-		pinctrl-names = "default";
-		pinctrl-0 = <&pwm5_pin>;
-		#pwm-cells = <3>;
-		status = "disabled";
-	};
-
-	pwm6: pwm@ff170020 {
-		compatible = "rockchip,rk3308-pwm", "rockchip,rk3328-pwm";
-		reg = <0x0 0xff170020 0x0 0x10>;
-		clocks = <&cru SCLK_PWM1>, <&cru PCLK_PWM1>;
-		clock-names = "pwm", "pclk";
-		pinctrl-names = "default";
-		pinctrl-0 = <&pwm6_pin>;
-		#pwm-cells = <3>;
-		status = "disabled";
-	};
-
-	pwm7: pwm@ff170030 {
-		compatible = "rockchip,rk3308-pwm", "rockchip,rk3328-pwm";
-		reg = <0x0 0xff170030 0x0 0x10>;
-		clocks = <&cru SCLK_PWM1>, <&cru PCLK_PWM1>;
-		clock-names = "pwm", "pclk";
-		pinctrl-names = "default";
-		pinctrl-0 = <&pwm7_pin>;
-		#pwm-cells = <3>;
-		status = "disabled";
-	};
-
-	pwm0: pwm@ff180000 {
-		compatible = "rockchip,rk3308-pwm", "rockchip,rk3328-pwm";
-		reg = <0x0 0xff180000 0x0 0x10>;
-		clocks = <&cru SCLK_PWM0>, <&cru PCLK_PWM0>;
-		clock-names = "pwm", "pclk";
-		pinctrl-names = "default";
-		pinctrl-0 = <&pwm0_pin>;
-		#pwm-cells = <3>;
-		status = "disabled";
-	};
-
-	pwm1: pwm@ff180010 {
-		compatible = "rockchip,rk3308-pwm", "rockchip,rk3328-pwm";
-		reg = <0x0 0xff180010 0x0 0x10>;
-		clocks = <&cru SCLK_PWM0>, <&cru PCLK_PWM0>;
-		clock-names = "pwm", "pclk";
-		pinctrl-names = "default";
-		pinctrl-0 = <&pwm1_pin>;
-		#pwm-cells = <3>;
-		status = "disabled";
-	};
-
-	pwm2: pwm@ff180020 {
-		compatible = "rockchip,rk3308-pwm", "rockchip,rk3328-pwm";
-		reg = <0x0 0xff180020 0x0 0x10>;
-		clocks = <&cru SCLK_PWM0>, <&cru PCLK_PWM0>;
-		clock-names = "pwm", "pclk";
-		pinctrl-names = "default";
-		pinctrl-0 = <&pwm2_pin>;
-		#pwm-cells = <3>;
-		status = "disabled";
-	};
-
-	pwm3: pwm@ff180030 {
-		compatible = "rockchip,rk3308-pwm", "rockchip,rk3328-pwm";
-		reg = <0x0 0xff180030 0x0 0x10>;
-		clocks = <&cru SCLK_PWM0>, <&cru PCLK_PWM0>;
-		clock-names = "pwm", "pclk";
-		pinctrl-names = "default";
-		pinctrl-0 = <&pwm3_pin>;
-		#pwm-cells = <3>;
-		status = "disabled";
-	};
-
-	rktimer: rktimer@ff1a0000 {
-		compatible = "rockchip,rk3288-timer";
-		reg = <0x0 0xff1a0000 0x0 0x20>;
-		interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>;
-		clocks = <&cru PCLK_TIMER>, <&cru SCLK_TIMER0>;
-		clock-names = "pclk", "timer";
-	};
-
-	saradc: saradc@ff1e0000 {
-		compatible = "rockchip,rk3308-saradc", "rockchip,rk3399-saradc";
-		reg = <0x0 0xff1e0000 0x0 0x100>;
-		interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
-		clocks = <&cru SCLK_SARADC>, <&cru PCLK_SARADC>;
-		clock-names = "saradc", "apb_pclk";
-		#io-channel-cells = <1>;
-		resets = <&cru SRST_SARADC_P>;
-		reset-names = "saradc-apb";
-		status = "disabled";
-	};
-
-	dmac0: dma-controller@ff2c0000 {
-		compatible = "arm,pl330", "arm,primecell";
-		reg = <0x0 0xff2c0000 0x0 0x4000>;
-		interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>,
-			     <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>;
-		arm,pl330-periph-burst;
-		clocks = <&cru ACLK_DMAC0>;
-		clock-names = "apb_pclk";
-		#dma-cells = <1>;
-	};
-
-	dmac1: dma-controller@ff2d0000 {
-		compatible = "arm,pl330", "arm,primecell";
-		reg = <0x0 0xff2d0000 0x0 0x4000>;
-		interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>,
-			     <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>;
-		arm,pl330-periph-burst;
-		clocks = <&cru ACLK_DMAC1>;
-		clock-names = "apb_pclk";
-		#dma-cells = <1>;
-	};
-
-	i2s_2ch_0: i2s@ff350000 {
-		compatible = "rockchip,rk3308-i2s", "rockchip,rk3066-i2s";
-		reg = <0x0 0xff350000 0x0 0x1000>;
-		interrupts = <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>;
-		clocks = <&cru SCLK_I2S0_2CH>, <&cru HCLK_I2S0_2CH>;
-		clock-names = "i2s_clk", "i2s_hclk";
-		dmas = <&dmac1 8>, <&dmac1 9>;
-		dma-names = "tx", "rx";
-		resets = <&cru SRST_I2S0_2CH_M>, <&cru SRST_I2S0_2CH_H>;
-		reset-names = "reset-m", "reset-h";
-		pinctrl-names = "default";
-		pinctrl-0 = <&i2s_2ch_0_sclk
-			     &i2s_2ch_0_lrck
-			     &i2s_2ch_0_sdi
-			     &i2s_2ch_0_sdo>;
-		status = "disabled";
-	};
-
-	i2s_2ch_1: i2s@ff360000 {
-		compatible = "rockchip,rk3308-i2s", "rockchip,rk3066-i2s";
-		reg = <0x0 0xff360000 0x0 0x1000>;
-		interrupts = <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>;
-		clocks = <&cru SCLK_I2S1_2CH>, <&cru HCLK_I2S1_2CH>;
-		clock-names = "i2s_clk", "i2s_hclk";
-		dmas = <&dmac1 11>;
-		dma-names = "rx";
-		resets = <&cru SRST_I2S1_2CH_M>, <&cru SRST_I2S1_2CH_H>;
-		reset-names = "reset-m", "reset-h";
-		status = "disabled";
-	};
-
-	spdif_tx: spdif-tx@ff3a0000 {
-		compatible = "rockchip,rk3308-spdif", "rockchip,rk3066-spdif";
-		reg = <0x0 0xff3a0000 0x0 0x1000>;
-		interrupts = <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>;
-		clocks = <&cru SCLK_SPDIF_TX>, <&cru HCLK_SPDIFTX>;
-		clock-names = "mclk", "hclk";
-		dmas = <&dmac1 13>;
-		dma-names = "tx";
-		pinctrl-names = "default";
-		pinctrl-0 = <&spdif_out>;
-		status = "disabled";
-	};
-
-	usb20_otg: usb@ff400000 {
-		compatible = "rockchip,rk3308-usb", "rockchip,rk3066-usb",
-			     "snps,dwc2";
-		reg = <0x0 0xff400000 0x0 0x40000>;
-		interrupts = <GIC_SPI 66 IRQ_TYPE_LEVEL_HIGH>;
-		clocks = <&cru HCLK_OTG>;
-		clock-names = "otg";
-		dr_mode = "otg";
-		g-np-tx-fifo-size = <16>;
-		g-rx-fifo-size = <280>;
-		g-tx-fifo-size = <256 128 128 64 32 16>;
-		phys = <&u2phy_otg>;
-		phy-names = "usb2-phy";
-		status = "disabled";
-	};
-
-	usb_host_ehci: usb@ff440000 {
-		compatible = "generic-ehci";
-		reg = <0x0 0xff440000 0x0 0x10000>;
-		interrupts = <GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>;
-		clocks = <&cru HCLK_HOST>, <&cru HCLK_HOST_ARB>, <&u2phy>;
-		phys = <&u2phy_host>;
-		phy-names = "usb";
-		status = "disabled";
-	};
-
-	usb_host_ohci: usb@ff450000 {
-		compatible = "generic-ohci";
-		reg = <0x0 0xff450000 0x0 0x10000>;
-		interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>;
-		clocks = <&cru HCLK_HOST>, <&cru HCLK_HOST_ARB>, <&u2phy>;
-		phys = <&u2phy_host>;
-		phy-names = "usb";
-		status = "disabled";
-	};
-
-	sdmmc: mmc@ff480000 {
-		compatible = "rockchip,rk3308-dw-mshc", "rockchip,rk3288-dw-mshc";
-		reg = <0x0 0xff480000 0x0 0x4000>;
-		interrupts = <GIC_SPI 76 IRQ_TYPE_LEVEL_HIGH>;
-		bus-width = <4>;
-		clocks = <&cru HCLK_SDMMC>, <&cru SCLK_SDMMC>,
-			 <&cru SCLK_SDMMC_DRV>, <&cru SCLK_SDMMC_SAMPLE>;
-		clock-names = "biu", "ciu", "ciu-drive", "ciu-sample";
-		fifo-depth = <0x100>;
-		max-frequency = <150000000>;
-		pinctrl-names = "default";
-		pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_det &sdmmc_bus4>;
-		status = "disabled";
-	};
-
-	emmc: mmc@ff490000 {
-		compatible = "rockchip,rk3308-dw-mshc", "rockchip,rk3288-dw-mshc";
-		reg = <0x0 0xff490000 0x0 0x4000>;
-		interrupts = <GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH>;
-		bus-width = <8>;
-		clocks = <&cru HCLK_EMMC>, <&cru SCLK_EMMC>,
-			 <&cru SCLK_EMMC_DRV>, <&cru SCLK_EMMC_SAMPLE>;
-		clock-names = "biu", "ciu", "ciu-drive", "ciu-sample";
-		fifo-depth = <0x100>;
-		max-frequency = <150000000>;
-		status = "disabled";
-	};
-
-	sdio: mmc@ff4a0000 {
-		compatible = "rockchip,rk3308-dw-mshc", "rockchip,rk3288-dw-mshc";
-		reg = <0x0 0xff4a0000 0x0 0x4000>;
-		interrupts = <GIC_SPI 78 IRQ_TYPE_LEVEL_HIGH>;
-		bus-width = <4>;
-		clocks = <&cru HCLK_SDIO>, <&cru SCLK_SDIO>,
-			 <&cru SCLK_SDIO_DRV>, <&cru SCLK_SDIO_SAMPLE>;
-		clock-names = "biu", "ciu", "ciu-drive", "ciu-sample";
-		fifo-depth = <0x100>;
-		max-frequency = <150000000>;
-		pinctrl-names = "default";
-		pinctrl-0 = <&sdio_bus4 &sdio_cmd &sdio_clk>;
-		status = "disabled";
-	};
-
-	nfc: nand-controller@ff4b0000 {
-		compatible = "rockchip,rk3308-nfc",
-			     "rockchip,rv1108-nfc";
-		reg = <0x0 0xff4b0000 0x0 0x4000>;
-		interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>;
-		clocks = <&cru HCLK_NANDC>, <&cru SCLK_NANDC>;
-		clock-names = "ahb", "nfc";
-		assigned-clocks = <&cru SCLK_NANDC>;
-		assigned-clock-rates = <150000000>;
-		pinctrl-0 = <&flash_ale &flash_bus8 &flash_cle &flash_csn0
-			     &flash_rdn &flash_rdy &flash_wrn>;
-		pinctrl-names = "default";
-		status = "disabled";
-	};
-
-	gmac: ethernet@ff4e0000 {
-		compatible = "rockchip,rk3308-gmac";
-		reg = <0x0 0xff4e0000 0x0 0x10000>;
-		interrupts = <GIC_SPI 64 IRQ_TYPE_LEVEL_HIGH>;
-		interrupt-names = "macirq";
-		clocks = <&cru SCLK_MAC>, <&cru SCLK_MAC_RX_TX>,
-			 <&cru SCLK_MAC_RX_TX>, <&cru SCLK_MAC_REF>,
-			 <&cru SCLK_MAC>, <&cru ACLK_MAC>,
-			 <&cru PCLK_MAC>, <&cru SCLK_MAC_RMII>;
-		clock-names = "stmmaceth", "mac_clk_rx",
-			      "mac_clk_tx", "clk_mac_ref",
-			      "clk_mac_refout", "aclk_mac",
-			      "pclk_mac", "clk_mac_speed";
-		phy-mode = "rmii";
-		pinctrl-names = "default";
-		pinctrl-0 = <&rmii_pins &mac_refclk_12ma>;
-		resets = <&cru SRST_MAC_A>;
-		reset-names = "stmmaceth";
-		rockchip,grf = <&grf>;
-		status = "disabled";
-	};
-
-	sfc: spi@ff4c0000 {
-		compatible = "rockchip,sfc";
-		reg = <0x0 0xff4c0000 0x0 0x4000>;
-		interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>;
-		clocks = <&cru SCLK_SFC>, <&cru HCLK_SFC>;
-		clock-names = "clk_sfc", "hclk_sfc";
-		pinctrl-0 = <&sfc_clk &sfc_cs0 &sfc_bus4>;
-		pinctrl-names = "default";
-		status = "disabled";
-	};
-
-	cru: clock-controller@ff500000 {
-		compatible = "rockchip,rk3308-cru";
-		reg = <0x0 0xff500000 0x0 0x1000>;
-		clocks = <&xin24m>;
-		clock-names = "xin24m";
-		rockchip,grf = <&grf>;
-		#clock-cells = <1>;
-		#reset-cells = <1>;
-		assigned-clocks = <&cru SCLK_RTC32K>;
-		assigned-clock-rates = <32768>;
-	};
-
-	gic: interrupt-controller@ff580000 {
-		compatible = "arm,gic-400";
-		reg = <0x0 0xff581000 0x0 0x1000>,
-		      <0x0 0xff582000 0x0 0x2000>,
-		      <0x0 0xff584000 0x0 0x2000>,
-		      <0x0 0xff586000 0x0 0x2000>;
-		interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>;
-		#interrupt-cells = <3>;
-		interrupt-controller;
-		#address-cells = <0>;
-	};
-
-	sram: sram@fff80000 {
-		compatible = "mmio-sram";
-		reg = <0x0 0xfff80000 0x0 0x40000>;
-		ranges = <0 0x0 0xfff80000 0x40000>;
-		#address-cells = <1>;
-		#size-cells = <1>;
-
-		/* reserved for ddr dvfs and system suspend/resume */
-		ddr-sram@0 {
-			reg = <0x0 0x8000>;
-		};
-
-		/* reserved for vad audio buffer */
-		vad_sram: vad-sram@8000 {
-			reg = <0x8000 0x38000>;
-		};
-	};
-
-	pinctrl: pinctrl {
-		compatible = "rockchip,rk3308-pinctrl";
-		rockchip,grf = <&grf>;
-		#address-cells = <2>;
-		#size-cells = <2>;
-		ranges;
-
-		gpio0: gpio@ff220000 {
-			compatible = "rockchip,gpio-bank";
-			reg = <0x0 0xff220000 0x0 0x100>;
-			interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>;
-			clocks = <&cru PCLK_GPIO0>;
-			gpio-controller;
-			#gpio-cells = <2>;
-			interrupt-controller;
-			#interrupt-cells = <2>;
-		};
-
-		gpio1: gpio@ff230000 {
-			compatible = "rockchip,gpio-bank";
-			reg = <0x0 0xff230000 0x0 0x100>;
-			interrupts = <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>;
-			clocks = <&cru PCLK_GPIO1>;
-			gpio-controller;
-			#gpio-cells = <2>;
-			interrupt-controller;
-			#interrupt-cells = <2>;
-		};
-
-		gpio2: gpio@ff240000 {
-			compatible = "rockchip,gpio-bank";
-			reg = <0x0 0xff240000 0x0 0x100>;
-			interrupts = <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>;
-			clocks = <&cru PCLK_GPIO2>;
-			gpio-controller;
-			#gpio-cells = <2>;
-			interrupt-controller;
-			#interrupt-cells = <2>;
-		};
-
-		gpio3: gpio@ff250000 {
-			compatible = "rockchip,gpio-bank";
-			reg = <0x0 0xff250000 0x0 0x100>;
-			interrupts = <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>;
-			clocks = <&cru PCLK_GPIO3>;
-			gpio-controller;
-			#gpio-cells = <2>;
-			interrupt-controller;
-			#interrupt-cells = <2>;
-		};
-
-		gpio4: gpio@ff260000 {
-			compatible = "rockchip,gpio-bank";
-			reg = <0x0 0xff260000 0x0 0x100>;
-			interrupts = <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>;
-			clocks = <&cru PCLK_GPIO4>;
-			gpio-controller;
-			#gpio-cells = <2>;
-			interrupt-controller;
-			#interrupt-cells = <2>;
-		};
-
-		pcfg_pull_up: pcfg-pull-up {
-			bias-pull-up;
-		};
-
-		pcfg_pull_down: pcfg-pull-down {
-			bias-pull-down;
-		};
-
-		pcfg_pull_none: pcfg-pull-none {
-			bias-disable;
-		};
-
-		pcfg_pull_none_2ma: pcfg-pull-none-2ma {
-			bias-disable;
-			drive-strength = <2>;
-		};
-
-		pcfg_pull_up_2ma: pcfg-pull-up-2ma {
-			bias-pull-up;
-			drive-strength = <2>;
-		};
-
-		pcfg_pull_up_4ma: pcfg-pull-up-4ma {
-			bias-pull-up;
-			drive-strength = <4>;
-		};
-
-		pcfg_pull_none_4ma: pcfg-pull-none-4ma {
-			bias-disable;
-			drive-strength = <4>;
-		};
-
-		pcfg_pull_down_4ma: pcfg-pull-down-4ma {
-			bias-pull-down;
-			drive-strength = <4>;
-		};
-
-		pcfg_pull_none_8ma: pcfg-pull-none-8ma {
-			bias-disable;
-			drive-strength = <8>;
-		};
-
-		pcfg_pull_up_8ma: pcfg-pull-up-8ma {
-			bias-pull-up;
-			drive-strength = <8>;
-		};
-
-		pcfg_pull_none_12ma: pcfg-pull-none-12ma {
-			bias-disable;
-			drive-strength = <12>;
-		};
-
-		pcfg_pull_up_12ma: pcfg-pull-up-12ma {
-			bias-pull-up;
-			drive-strength = <12>;
-		};
-
-		pcfg_pull_none_smt: pcfg-pull-none-smt {
-			bias-disable;
-			input-schmitt-enable;
-		};
-
-		pcfg_output_high: pcfg-output-high {
-			output-high;
-		};
-
-		pcfg_output_low: pcfg-output-low {
-			output-low;
-		};
-
-		pcfg_input_high: pcfg-input-high {
-			bias-pull-up;
-			input-enable;
-		};
-
-		pcfg_input: pcfg-input {
-			input-enable;
-		};
-
-		emmc {
-			emmc_clk: emmc-clk {
-				rockchip,pins =
-					<3 RK_PB1 2 &pcfg_pull_none_8ma>;
-			};
-
-			emmc_cmd: emmc-cmd {
-				rockchip,pins =
-					<3 RK_PB0 2 &pcfg_pull_up_8ma>;
-			};
-
-			emmc_pwren: emmc-pwren {
-				rockchip,pins =
-					<3 RK_PB3 2 &pcfg_pull_none>;
-			};
-
-			emmc_rstn: emmc-rstn {
-				rockchip,pins =
-					<3 RK_PB2 2 &pcfg_pull_none>;
-			};
-
-			emmc_bus1: emmc-bus1 {
-				rockchip,pins =
-					<3 RK_PA0 2 &pcfg_pull_up_8ma>;
-			};
-
-			emmc_bus4: emmc-bus4 {
-				rockchip,pins =
-					<3 RK_PA0 2 &pcfg_pull_up_8ma>,
-					<3 RK_PA1 2 &pcfg_pull_up_8ma>,
-					<3 RK_PA2 2 &pcfg_pull_up_8ma>,
-					<3 RK_PA3 2 &pcfg_pull_up_8ma>;
-			};
-
-			emmc_bus8: emmc-bus8 {
-				rockchip,pins =
-					<3 RK_PA0 2 &pcfg_pull_up_8ma>,
-					<3 RK_PA1 2 &pcfg_pull_up_8ma>,
-					<3 RK_PA2 2 &pcfg_pull_up_8ma>,
-					<3 RK_PA3 2 &pcfg_pull_up_8ma>,
-					<3 RK_PA4 2 &pcfg_pull_up_8ma>,
-					<3 RK_PA5 2 &pcfg_pull_up_8ma>,
-					<3 RK_PA6 2 &pcfg_pull_up_8ma>,
-					<3 RK_PA7 2 &pcfg_pull_up_8ma>;
-			};
-		};
-
-		flash {
-			flash_csn0: flash-csn0 {
-				rockchip,pins =
-					<3 RK_PB5 1 &pcfg_pull_none>;
-			};
-
-			flash_rdy: flash-rdy {
-				rockchip,pins =
-					<3 RK_PB4 1 &pcfg_pull_none>;
-			};
-
-			flash_ale: flash-ale {
-				rockchip,pins =
-					<3 RK_PB3 1 &pcfg_pull_none>;
-			};
-
-			flash_cle: flash-cle {
-				rockchip,pins =
-					<3 RK_PB1 1 &pcfg_pull_none>;
-			};
-
-			flash_wrn: flash-wrn {
-				rockchip,pins =
-					<3 RK_PB0 1 &pcfg_pull_none>;
-			};
-
-			flash_rdn: flash-rdn {
-				rockchip,pins =
-					<3 RK_PB2 1 &pcfg_pull_none>;
-			};
-
-			flash_bus8: flash-bus8 {
-				rockchip,pins =
-					<3 RK_PA0 1 &pcfg_pull_up_12ma>,
-					<3 RK_PA1 1 &pcfg_pull_up_12ma>,
-					<3 RK_PA2 1 &pcfg_pull_up_12ma>,
-					<3 RK_PA3 1 &pcfg_pull_up_12ma>,
-					<3 RK_PA4 1 &pcfg_pull_up_12ma>,
-					<3 RK_PA5 1 &pcfg_pull_up_12ma>,
-					<3 RK_PA6 1 &pcfg_pull_up_12ma>,
-					<3 RK_PA7 1 &pcfg_pull_up_12ma>;
-			};
-		};
-
-		sfc {
-			sfc_bus4: sfc-bus4 {
-				rockchip,pins =
-					<3 RK_PA0 3 &pcfg_pull_none>,
-					<3 RK_PA1 3 &pcfg_pull_none>,
-					<3 RK_PA2 3 &pcfg_pull_none>,
-					<3 RK_PA3 3 &pcfg_pull_none>;
-			};
-
-			sfc_bus2: sfc-bus2 {
-				rockchip,pins =
-					<3 RK_PA0 3 &pcfg_pull_none>,
-					<3 RK_PA1 3 &pcfg_pull_none>;
-			};
-
-			sfc_cs0: sfc-cs0 {
-				rockchip,pins =
-					<3 RK_PA4 3 &pcfg_pull_none>;
-			};
-
-			sfc_clk: sfc-clk {
-				rockchip,pins =
-					<3 RK_PA5 3 &pcfg_pull_none>;
-			};
-		};
-
-		gmac {
-			rmii_pins: rmii-pins {
-				rockchip,pins =
-					/* mac_txen */
-					<1 RK_PC1 3 &pcfg_pull_none_12ma>,
-					/* mac_txd1 */
-					<1 RK_PC3 3 &pcfg_pull_none_12ma>,
-					/* mac_txd0 */
-					<1 RK_PC2 3 &pcfg_pull_none_12ma>,
-					/* mac_rxd0 */
-					<1 RK_PC4 3 &pcfg_pull_none>,
-					/* mac_rxd1 */
-					<1 RK_PC5 3 &pcfg_pull_none>,
-					/* mac_rxer */
-					<1 RK_PB7 3 &pcfg_pull_none>,
-					/* mac_rxdv */
-					<1 RK_PC0 3 &pcfg_pull_none>,
-					/* mac_mdio */
-					<1 RK_PB6 3 &pcfg_pull_none>,
-					/* mac_mdc */
-					<1 RK_PB5 3 &pcfg_pull_none>;
-			};
-
-			mac_refclk_12ma: mac-refclk-12ma {
-				rockchip,pins =
-					<1 RK_PB4 3 &pcfg_pull_none_12ma>;
-			};
-
-			mac_refclk: mac-refclk {
-				rockchip,pins =
-					<1 RK_PB4 3 &pcfg_pull_none>;
-			};
-		};
-
-		gmac-m1 {
-			rmiim1_pins: rmiim1-pins {
-				rockchip,pins =
-					/* mac_txen */
-					<4 RK_PB7 2 &pcfg_pull_none_12ma>,
-					/* mac_txd1 */
-					<4 RK_PA5 2 &pcfg_pull_none_12ma>,
-					/* mac_txd0 */
-					<4 RK_PA4 2 &pcfg_pull_none_12ma>,
-					/* mac_rxd0 */
-					<4 RK_PA2 2 &pcfg_pull_none>,
-					/* mac_rxd1 */
-					<4 RK_PA3 2 &pcfg_pull_none>,
-					/* mac_rxer */
-					<4 RK_PA0 2 &pcfg_pull_none>,
-					/* mac_rxdv */
-					<4 RK_PA1 2 &pcfg_pull_none>,
-					/* mac_mdio */
-					<4 RK_PB6 2 &pcfg_pull_none>,
-					/* mac_mdc */
-					<4 RK_PB5 2 &pcfg_pull_none>;
-			};
-
-			macm1_refclk_12ma: macm1-refclk-12ma {
-				rockchip,pins =
-					<4 RK_PB4 2 &pcfg_pull_none_12ma>;
-			};
-
-			macm1_refclk: macm1-refclk {
-				rockchip,pins =
-					<4 RK_PB4 2 &pcfg_pull_none>;
-			};
-		};
-
-		i2c0 {
-			i2c0_xfer: i2c0-xfer {
-				rockchip,pins =
-					<1 RK_PD0 2 &pcfg_pull_none_smt>,
-					<1 RK_PD1 2 &pcfg_pull_none_smt>;
-			};
-		};
-
-		i2c1 {
-			i2c1_xfer: i2c1-xfer {
-				rockchip,pins =
-					<0 RK_PB3 1 &pcfg_pull_none_smt>,
-					<0 RK_PB4 1 &pcfg_pull_none_smt>;
-			};
-		};
-
-		i2c2 {
-			i2c2_xfer: i2c2-xfer {
-				rockchip,pins =
-					<2 RK_PA2 3 &pcfg_pull_none_smt>,
-					<2 RK_PA3 3 &pcfg_pull_none_smt>;
-			};
-		};
-
-		i2c3-m0 {
-			i2c3m0_xfer: i2c3m0-xfer {
-				rockchip,pins =
-					<0 RK_PB7 2 &pcfg_pull_none_smt>,
-					<0 RK_PC0 2 &pcfg_pull_none_smt>;
-			};
-		};
-
-		i2c3-m1 {
-			i2c3m1_xfer: i2c3m1-xfer {
-				rockchip,pins =
-					<3 RK_PB4 2 &pcfg_pull_none_smt>,
-					<3 RK_PB5 2 &pcfg_pull_none_smt>;
-			};
-		};
-
-		i2c3-m2 {
-			i2c3m2_xfer: i2c3m2-xfer {
-				rockchip,pins =
-					<2 RK_PA1 3 &pcfg_pull_none_smt>,
-					<2 RK_PA0 3 &pcfg_pull_none_smt>;
-			};
-		};
-
-		i2s_2ch_0 {
-			i2s_2ch_0_mclk: i2s-2ch-0-mclk {
-				rockchip,pins =
-					<4 RK_PB4 1 &pcfg_pull_none>;
-			};
-
-			i2s_2ch_0_sclk: i2s-2ch-0-sclk {
-				rockchip,pins =
-					<4 RK_PB5 1 &pcfg_pull_none>;
-			};
-
-			i2s_2ch_0_lrck: i2s-2ch-0-lrck {
-				rockchip,pins =
-					<4 RK_PB6 1 &pcfg_pull_none>;
-			};
-
-			i2s_2ch_0_sdo: i2s-2ch-0-sdo {
-				rockchip,pins =
-					<4 RK_PB7 1 &pcfg_pull_none>;
-			};
-
-			i2s_2ch_0_sdi: i2s-2ch-0-sdi {
-				rockchip,pins =
-					<4 RK_PC0 1 &pcfg_pull_none>;
-			};
-		};
-
-		i2s_8ch_0 {
-			i2s_8ch_0_mclk: i2s-8ch-0-mclk {
-				rockchip,pins =
-					<2 RK_PA4 1 &pcfg_pull_none>;
-			};
-
-			i2s_8ch_0_sclktx: i2s-8ch-0-sclktx {
-				rockchip,pins =
-					<2 RK_PA5 1 &pcfg_pull_none>;
-			};
-
-			i2s_8ch_0_sclkrx: i2s-8ch-0-sclkrx {
-				rockchip,pins =
-					<2 RK_PA6 1 &pcfg_pull_none>;
-			};
-
-			i2s_8ch_0_lrcktx: i2s-8ch-0-lrcktx {
-				rockchip,pins =
-					<2 RK_PA7 1 &pcfg_pull_none>;
-			};
-
-			i2s_8ch_0_lrckrx: i2s-8ch-0-lrckrx {
-				rockchip,pins =
-					<2 RK_PB0 1 &pcfg_pull_none>;
-			};
-
-			i2s_8ch_0_sdo0: i2s-8ch-0-sdo0 {
-				rockchip,pins =
-					<2 RK_PB1 1 &pcfg_pull_none>;
-			};
-
-			i2s_8ch_0_sdo1: i2s-8ch-0-sdo1 {
-				rockchip,pins =
-					<2 RK_PB2 1 &pcfg_pull_none>;
-			};
-
-			i2s_8ch_0_sdo2: i2s-8ch-0-sdo2 {
-				rockchip,pins =
-					<2 RK_PB3 1 &pcfg_pull_none>;
-			};
-
-			i2s_8ch_0_sdo3: i2s-8ch-0-sdo3 {
-				rockchip,pins =
-					<2 RK_PB4 1 &pcfg_pull_none>;
-			};
-
-			i2s_8ch_0_sdi0: i2s-8ch-0-sdi0 {
-				rockchip,pins =
-					<2 RK_PB5 1 &pcfg_pull_none>;
-			};
-
-			i2s_8ch_0_sdi1: i2s-8ch-0-sdi1 {
-				rockchip,pins =
-					<2 RK_PB6 1 &pcfg_pull_none>;
-			};
-
-			i2s_8ch_0_sdi2: i2s-8ch-0-sdi2 {
-				rockchip,pins =
-					<2 RK_PB7 1 &pcfg_pull_none>;
-			};
-
-			i2s_8ch_0_sdi3: i2s-8ch-0-sdi3 {
-				rockchip,pins =
-					<2 RK_PC0 1 &pcfg_pull_none>;
-			};
-		};
-
-		i2s_8ch_1_m0 {
-			i2s_8ch_1_m0_mclk: i2s-8ch-1-m0-mclk {
-				rockchip,pins =
-					<1 RK_PA2 2 &pcfg_pull_none>;
-			};
-
-			i2s_8ch_1_m0_sclktx: i2s-8ch-1-m0-sclktx {
-				rockchip,pins =
-					<1 RK_PA3 2 &pcfg_pull_none>;
-			};
-
-			i2s_8ch_1_m0_sclkrx: i2s-8ch-1-m0-sclkrx {
-				rockchip,pins =
-					<1 RK_PA4 2 &pcfg_pull_none>;
-			};
-
-			i2s_8ch_1_m0_lrcktx: i2s-8ch-1-m0-lrcktx {
-				rockchip,pins =
-					<1 RK_PA5 2 &pcfg_pull_none>;
-			};
-
-			i2s_8ch_1_m0_lrckrx: i2s-8ch-1-m0-lrckrx {
-				rockchip,pins =
-					<1 RK_PA6 2 &pcfg_pull_none>;
-			};
-
-			i2s_8ch_1_m0_sdo0: i2s-8ch-1-m0-sdo0 {
-				rockchip,pins =
-					<1 RK_PA7 2 &pcfg_pull_none>;
-			};
-
-			i2s_8ch_1_m0_sdo1_sdi3: i2s-8ch-1-m0-sdo1-sdi3 {
-				rockchip,pins =
-					<1 RK_PB0 2 &pcfg_pull_none>;
-			};
-
-			i2s_8ch_1_m0_sdo2_sdi2: i2s-8ch-1-m0-sdo2-sdi2 {
-				rockchip,pins =
-					<1 RK_PB1 2 &pcfg_pull_none>;
-			};
-
-			i2s_8ch_1_m0_sdo3_sdi1: i2s-8ch-1-m0-sdo3_sdi1 {
-				rockchip,pins =
-					<1 RK_PB2 2 &pcfg_pull_none>;
-			};
-
-			i2s_8ch_1_m0_sdi0: i2s-8ch-1-m0-sdi0 {
-				rockchip,pins =
-					<1 RK_PB3 2 &pcfg_pull_none>;
-			};
-		};
-
-		i2s_8ch_1_m1 {
-			i2s_8ch_1_m1_mclk: i2s-8ch-1-m1-mclk {
-				rockchip,pins =
-					<1 RK_PB4 2 &pcfg_pull_none>;
-			};
-
-			i2s_8ch_1_m1_sclktx: i2s-8ch-1-m1-sclktx {
-				rockchip,pins =
-					<1 RK_PB5 2 &pcfg_pull_none>;
-			};
-
-			i2s_8ch_1_m1_sclkrx: i2s-8ch-1-m1-sclkrx {
-				rockchip,pins =
-					<1 RK_PB6 2 &pcfg_pull_none>;
-			};
-
-			i2s_8ch_1_m1_lrcktx: i2s-8ch-1-m1-lrcktx {
-				rockchip,pins =
-					<1 RK_PB7 2 &pcfg_pull_none>;
-			};
-
-			i2s_8ch_1_m1_lrckrx: i2s-8ch-1-m1-lrckrx {
-				rockchip,pins =
-					<1 RK_PC0 2 &pcfg_pull_none>;
-			};
-
-			i2s_8ch_1_m1_sdo0: i2s-8ch-1-m1-sdo0 {
-				rockchip,pins =
-					<1 RK_PC1 2 &pcfg_pull_none>;
-			};
-
-			i2s_8ch_1_m1_sdo1_sdi3: i2s-8ch-1-m1-sdo1-sdi3 {
-				rockchip,pins =
-					<1 RK_PC2 2 &pcfg_pull_none>;
-			};
-
-			i2s_8ch_1_m1_sdo2_sdi2: i2s-8ch-1-m1-sdo2-sdi2 {
-				rockchip,pins =
-					<1 RK_PC3 2 &pcfg_pull_none>;
-			};
-
-			i2s_8ch_1_m1_sdo3_sdi1: i2s-8ch-1-m1-sdo3_sdi1 {
-				rockchip,pins =
-					<1 RK_PC4 2 &pcfg_pull_none>;
-			};
-
-			i2s_8ch_1_m1_sdi0: i2s-8ch-1-m1-sdi0 {
-				rockchip,pins =
-					<1 RK_PC5 2 &pcfg_pull_none>;
-			};
-		};
-
-		pdm_m0 {
-			pdm_m0_clk: pdm-m0-clk {
-				rockchip,pins =
-					<1 RK_PA4 3 &pcfg_pull_none>;
-			};
-
-			pdm_m0_sdi0: pdm-m0-sdi0 {
-				rockchip,pins =
-					<1 RK_PB3 3 &pcfg_pull_none>;
-			};
-
-			pdm_m0_sdi1: pdm-m0-sdi1 {
-				rockchip,pins =
-					<1 RK_PB2 3 &pcfg_pull_none>;
-			};
-
-			pdm_m0_sdi2: pdm-m0-sdi2 {
-				rockchip,pins =
-					<1 RK_PB1 3 &pcfg_pull_none>;
-			};
-
-			pdm_m0_sdi3: pdm-m0-sdi3 {
-				rockchip,pins =
-					<1 RK_PB0 3 &pcfg_pull_none>;
-			};
-		};
-
-		pdm_m1 {
-			pdm_m1_clk: pdm-m1-clk {
-				rockchip,pins =
-					<1 RK_PB6 4 &pcfg_pull_none>;
-			};
-
-			pdm_m1_sdi0: pdm-m1-sdi0 {
-				rockchip,pins =
-					<1 RK_PC5 4 &pcfg_pull_none>;
-			};
-
-			pdm_m1_sdi1: pdm-m1-sdi1 {
-				rockchip,pins =
-					<1 RK_PC4 4 &pcfg_pull_none>;
-			};
-
-			pdm_m1_sdi2: pdm-m1-sdi2 {
-				rockchip,pins =
-					<1 RK_PC3 4 &pcfg_pull_none>;
-			};
-
-			pdm_m1_sdi3: pdm-m1-sdi3 {
-				rockchip,pins =
-					<1 RK_PC2 4 &pcfg_pull_none>;
-			};
-		};
-
-		pdm_m2 {
-			pdm_m2_clkm: pdm-m2-clkm {
-				rockchip,pins =
-					<2 RK_PA4 3 &pcfg_pull_none>;
-			};
-
-			pdm_m2_clk: pdm-m2-clk {
-				rockchip,pins =
-					<2 RK_PA6 2 &pcfg_pull_none>;
-			};
-
-			pdm_m2_sdi0: pdm-m2-sdi0 {
-				rockchip,pins =
-					<2 RK_PB5 2 &pcfg_pull_none>;
-			};
-
-			pdm_m2_sdi1: pdm-m2-sdi1 {
-				rockchip,pins =
-					<2 RK_PB6 2 &pcfg_pull_none>;
-			};
-
-			pdm_m2_sdi2: pdm-m2-sdi2 {
-				rockchip,pins =
-					<2 RK_PB7 2 &pcfg_pull_none>;
-			};
-
-			pdm_m2_sdi3: pdm-m2-sdi3 {
-				rockchip,pins =
-					<2 RK_PC0 2 &pcfg_pull_none>;
-			};
-		};
-
-		pwm0 {
-			pwm0_pin: pwm0-pin {
-				rockchip,pins =
-					<0 RK_PB5 1 &pcfg_pull_none>;
-			};
-
-			pwm0_pin_pull_down: pwm0-pin-pull-down {
-				rockchip,pins =
-					<0 RK_PB5 1 &pcfg_pull_down>;
-			};
-		};
-
-		pwm1 {
-			pwm1_pin: pwm1-pin {
-				rockchip,pins =
-					<0 RK_PB6 1 &pcfg_pull_none>;
-			};
-
-			pwm1_pin_pull_down: pwm1-pin-pull-down {
-				rockchip,pins =
-					<0 RK_PB6 1 &pcfg_pull_down>;
-			};
-		};
-
-		pwm2 {
-			pwm2_pin: pwm2-pin {
-				rockchip,pins =
-					<0 RK_PB7 1 &pcfg_pull_none>;
-			};
-
-			pwm2_pin_pull_down: pwm2-pin-pull-down {
-				rockchip,pins =
-					<0 RK_PB7 1 &pcfg_pull_down>;
-			};
-		};
-
-		pwm3 {
-			pwm3_pin: pwm3-pin {
-				rockchip,pins =
-					<0 RK_PC0 1 &pcfg_pull_none>;
-			};
-
-			pwm3_pin_pull_down: pwm3-pin-pull-down {
-				rockchip,pins =
-					<0 RK_PC0 1 &pcfg_pull_down>;
-			};
-		};
-
-		pwm4 {
-			pwm4_pin: pwm4-pin {
-				rockchip,pins =
-					<0 RK_PA1 2 &pcfg_pull_none>;
-			};
-
-			pwm4_pin_pull_down: pwm4-pin-pull-down {
-				rockchip,pins =
-					<0 RK_PA1 2 &pcfg_pull_down>;
-			};
-		};
-
-		pwm5 {
-			pwm5_pin: pwm5-pin {
-				rockchip,pins =
-					<0 RK_PC1 2 &pcfg_pull_none>;
-			};
-
-			pwm5_pin_pull_down: pwm5-pin-pull-down {
-				rockchip,pins =
-					<0 RK_PC1 2 &pcfg_pull_down>;
-			};
-		};
-
-		pwm6 {
-			pwm6_pin: pwm6-pin {
-				rockchip,pins =
-					<0 RK_PC2 2 &pcfg_pull_none>;
-			};
-
-			pwm6_pin_pull_down: pwm6-pin-pull-down {
-				rockchip,pins =
-					<0 RK_PC2 2 &pcfg_pull_down>;
-			};
-		};
-
-		pwm7 {
-			pwm7_pin: pwm7-pin {
-				rockchip,pins =
-					<2 RK_PB0 2 &pcfg_pull_none>;
-			};
-
-			pwm7_pin_pull_down: pwm7-pin-pull-down {
-				rockchip,pins =
-					<2 RK_PB0 2 &pcfg_pull_down>;
-			};
-		};
-
-		pwm8 {
-			pwm8_pin: pwm8-pin {
-				rockchip,pins =
-					<2 RK_PB2 2 &pcfg_pull_none>;
-			};
-
-			pwm8_pin_pull_down: pwm8-pin-pull-down {
-				rockchip,pins =
-					<2 RK_PB2 2 &pcfg_pull_down>;
-			};
-		};
-
-		pwm9 {
-			pwm9_pin: pwm9-pin {
-				rockchip,pins =
-					<2 RK_PB3 2 &pcfg_pull_none>;
-			};
-
-			pwm9_pin_pull_down: pwm9-pin-pull-down {
-				rockchip,pins =
-					<2 RK_PB3 2 &pcfg_pull_down>;
-			};
-		};
-
-		pwm10 {
-			pwm10_pin: pwm10-pin {
-				rockchip,pins =
-					<2 RK_PB4 2 &pcfg_pull_none>;
-			};
-
-			pwm10_pin_pull_down: pwm10-pin-pull-down {
-				rockchip,pins =
-					<2 RK_PB4 2 &pcfg_pull_down>;
-			};
-		};
-
-		pwm11 {
-			pwm11_pin: pwm11-pin {
-				rockchip,pins =
-					<2 RK_PC0 4 &pcfg_pull_none>;
-			};
-
-			pwm11_pin_pull_down: pwm11-pin-pull-down {
-				rockchip,pins =
-					<2 RK_PC0 4 &pcfg_pull_down>;
-			};
-		};
-
-		rtc {
-			rtc_32k: rtc-32k {
-				rockchip,pins =
-					<0 RK_PC3 1 &pcfg_pull_none>;
-			};
-		};
-
-		sdmmc {
-			sdmmc_clk: sdmmc-clk {
-				rockchip,pins =
-					<4 RK_PD5 1 &pcfg_pull_none_4ma>;
-			};
-
-			sdmmc_cmd: sdmmc-cmd {
-				rockchip,pins =
-					<4 RK_PD4 1 &pcfg_pull_up_4ma>;
-			};
-
-			sdmmc_det: sdmmc-det {
-				rockchip,pins =
-					<0 RK_PA3 1 &pcfg_pull_up_4ma>;
-			};
-
-			sdmmc_pwren: sdmmc-pwren {
-				rockchip,pins =
-					<4 RK_PD6 1 &pcfg_pull_none_4ma>;
-			};
-
-			sdmmc_bus1: sdmmc-bus1 {
-				rockchip,pins =
-					<4 RK_PD0 1 &pcfg_pull_up_4ma>;
-			};
-
-			sdmmc_bus4: sdmmc-bus4 {
-				rockchip,pins =
-					<4 RK_PD0 1 &pcfg_pull_up_4ma>,
-					<4 RK_PD1 1 &pcfg_pull_up_4ma>,
-					<4 RK_PD2 1 &pcfg_pull_up_4ma>,
-					<4 RK_PD3 1 &pcfg_pull_up_4ma>;
-			};
-		};
-
-		sdio {
-			sdio_clk: sdio-clk {
-				rockchip,pins =
-					<4 RK_PA5 1 &pcfg_pull_none_8ma>;
-			};
-
-			sdio_cmd: sdio-cmd {
-				rockchip,pins =
-					<4 RK_PA4 1 &pcfg_pull_up_8ma>;
-			};
-
-			sdio_pwren: sdio-pwren {
-				rockchip,pins =
-					<0 RK_PA2 1 &pcfg_pull_none_8ma>;
-			};
-
-			sdio_wrpt: sdio-wrpt {
-				rockchip,pins =
-					<0 RK_PA1 1 &pcfg_pull_none_8ma>;
-			};
-
-			sdio_intn: sdio-intn {
-				rockchip,pins =
-					<0 RK_PA0 1 &pcfg_pull_none_8ma>;
-			};
-
-			sdio_bus1: sdio-bus1 {
-				rockchip,pins =
-					<4 RK_PA0 1 &pcfg_pull_up_8ma>;
-			};
-
-			sdio_bus4: sdio-bus4 {
-				rockchip,pins =
-					<4 RK_PA0 1 &pcfg_pull_up_8ma>,
-					<4 RK_PA1 1 &pcfg_pull_up_8ma>,
-					<4 RK_PA2 1 &pcfg_pull_up_8ma>,
-					<4 RK_PA3 1 &pcfg_pull_up_8ma>;
-			};
-		};
-
-		spdif_in {
-			spdif_in: spdif-in {
-				rockchip,pins =
-					<0 RK_PC2 1 &pcfg_pull_none>;
-			};
-		};
-
-		spdif_out {
-			spdif_out: spdif-out {
-				rockchip,pins =
-					<0 RK_PC1 1 &pcfg_pull_none>;
-			};
-		};
-
-		spi0 {
-			spi0_clk: spi0-clk {
-				rockchip,pins =
-					<2 RK_PA2 2 &pcfg_pull_up_4ma>;
-			};
-
-			spi0_csn0: spi0-csn0 {
-				rockchip,pins =
-					<2 RK_PA3 2 &pcfg_pull_up_4ma>;
-			};
-
-			spi0_miso: spi0-miso {
-				rockchip,pins =
-					<2 RK_PA0 2 &pcfg_pull_up_4ma>;
-			};
-
-			spi0_mosi: spi0-mosi {
-				rockchip,pins =
-					<2 RK_PA1 2 &pcfg_pull_up_4ma>;
-			};
-		};
-
-		spi1 {
-			spi1_clk: spi1-clk {
-				rockchip,pins =
-					<3 RK_PB3 3 &pcfg_pull_up_4ma>;
-			};
-
-			spi1_csn0: spi1-csn0 {
-				rockchip,pins =
-					<3 RK_PB5 3 &pcfg_pull_up_4ma>;
-			};
-
-			spi1_miso: spi1-miso {
-				rockchip,pins =
-					<3 RK_PB2 3 &pcfg_pull_up_4ma>;
-			};
-
-			spi1_mosi: spi1-mosi {
-				rockchip,pins =
-					<3 RK_PB4 3 &pcfg_pull_up_4ma>;
-			};
-		};
-
-		spi1-m1 {
-			spi1m1_miso: spi1m1-miso {
-				rockchip,pins =
-					<2 RK_PA4 2 &pcfg_pull_up_4ma>;
-			};
-
-			spi1m1_mosi: spi1m1-mosi {
-				rockchip,pins =
-					<2 RK_PA5 2 &pcfg_pull_up_4ma>;
-			};
-
-			spi1m1_clk: spi1m1-clk {
-				rockchip,pins =
-					<2 RK_PA7 2 &pcfg_pull_up_4ma>;
-			};
-
-			spi1m1_csn0: spi1m1-csn0 {
-				rockchip,pins =
-					<2 RK_PB1 2 &pcfg_pull_up_4ma>;
-			};
-		};
-
-		spi2 {
-			spi2_clk: spi2-clk {
-				rockchip,pins =
-					<1 RK_PD0 3 &pcfg_pull_up_4ma>;
-			};
-
-			spi2_csn0: spi2-csn0 {
-				rockchip,pins =
-					<1 RK_PD1 3 &pcfg_pull_up_4ma>;
-			};
-
-			spi2_miso: spi2-miso {
-				rockchip,pins =
-					<1 RK_PC6 3 &pcfg_pull_up_4ma>;
-			};
-
-			spi2_mosi: spi2-mosi {
-				rockchip,pins =
-					<1 RK_PC7 3 &pcfg_pull_up_4ma>;
-			};
-		};
-
-		tsadc {
-			tsadc_otp_pin: tsadc-otp-pin {
-				rockchip,pins =
-					<0 RK_PB2 0 &pcfg_pull_none>;
-			};
-
-			tsadc_otp_out: tsadc-otp-out {
-				rockchip,pins =
-					<0 RK_PB2 1 &pcfg_pull_none>;
-			};
-		};
-
-		uart0 {
-			uart0_xfer: uart0-xfer {
-				rockchip,pins =
-					<2 RK_PA1 1 &pcfg_pull_up>,
-					<2 RK_PA0 1 &pcfg_pull_up>;
-			};
-
-			uart0_cts: uart0-cts {
-				rockchip,pins =
-					<2 RK_PA2 1 &pcfg_pull_none>;
-			};
-
-			uart0_rts: uart0-rts {
-				rockchip,pins =
-					<2 RK_PA3 1 &pcfg_pull_none>;
-			};
-
-			uart0_rts_pin: uart0-rts-pin {
-				rockchip,pins =
-					<2 RK_PA3 0 &pcfg_pull_none>;
-			};
-		};
-
-		uart1 {
-			uart1_xfer: uart1-xfer {
-				rockchip,pins =
-					<1 RK_PD1 1 &pcfg_pull_up>,
-					<1 RK_PD0 1 &pcfg_pull_up>;
-			};
-
-			uart1_cts: uart1-cts {
-				rockchip,pins =
-					<1 RK_PC6 1 &pcfg_pull_none>;
-			};
-
-			uart1_rts: uart1-rts {
-				rockchip,pins =
-					<1 RK_PC7 1 &pcfg_pull_none>;
-			};
-		};
-
-		uart2-m0 {
-			uart2m0_xfer: uart2m0-xfer {
-				rockchip,pins =
-					<1 RK_PC7 2 &pcfg_pull_up>,
-					<1 RK_PC6 2 &pcfg_pull_up>;
-			};
-		};
-
-		uart2-m1 {
-			uart2m1_xfer: uart2m1-xfer {
-				rockchip,pins =
-					<4 RK_PD3 2 &pcfg_pull_up>,
-					<4 RK_PD2 2 &pcfg_pull_up>;
-			};
-		};
-
-		uart3 {
-			uart3_xfer: uart3-xfer {
-				rockchip,pins =
-					<3 RK_PB5 4 &pcfg_pull_up>,
-					<3 RK_PB4 4 &pcfg_pull_up>;
-			};
-		};
-
-		uart3-m1 {
-			uart3m1_xfer: uart3m1-xfer {
-				rockchip,pins =
-					<0 RK_PC2 3 &pcfg_pull_up>,
-					<0 RK_PC1 3 &pcfg_pull_up>;
-			};
-		};
-
-		uart4 {
-			uart4_xfer: uart4-xfer {
-				rockchip,pins =
-					<4 RK_PB1 1 &pcfg_pull_up>,
-					<4 RK_PB0 1 &pcfg_pull_up>;
-			};
-
-			uart4_cts: uart4-cts {
-				rockchip,pins =
-					<4 RK_PA6 1 &pcfg_pull_none>;
-			};
-
-			uart4_rts: uart4-rts {
-				rockchip,pins =
-					<4 RK_PA7 1 &pcfg_pull_none>;
-			};
-
-			uart4_rts_pin: uart4-rts-pin {
-				rockchip,pins =
-					<4 RK_PA7 0 &pcfg_pull_none>;
-			};
-		};
-	};
-};
diff --git a/include/dt-bindings/clock/rk3308-cru.h b/include/dt-bindings/clock/rk3308-cru.h
deleted file mode 100644
index d97840f9ee2e..000000000000
--- a/include/dt-bindings/clock/rk3308-cru.h
+++ /dev/null
@@ -1,387 +0,0 @@ 
-/* SPDX-License-Identifier: GPL-2.0 */
-/*
- * Copyright (c) 2019 Rockchip Electronics Co. Ltd.
- * Author: Finley Xiao <finley.xiao@rock-chips.com>
- */
-
-#ifndef _DT_BINDINGS_CLK_ROCKCHIP_RK3308_H
-#define _DT_BINDINGS_CLK_ROCKCHIP_RK3308_H
-
-/* core clocks */
-#define PLL_APLL		1
-#define PLL_DPLL		2
-#define PLL_VPLL0		3
-#define PLL_VPLL1		4
-#define ARMCLK			5
-
-/* sclk (special clocks) */
-#define USB480M			14
-#define SCLK_RTC32K		15
-#define SCLK_PVTM_CORE		16
-#define SCLK_UART0		17
-#define SCLK_UART1		18
-#define SCLK_UART2		19
-#define SCLK_UART3		20
-#define SCLK_UART4		21
-#define SCLK_I2C0		22
-#define SCLK_I2C1		23
-#define SCLK_I2C2		24
-#define SCLK_I2C3		25
-#define SCLK_PWM0		26
-#define SCLK_SPI0		27
-#define SCLK_SPI1		28
-#define SCLK_SPI2		29
-#define SCLK_TIMER0		30
-#define SCLK_TIMER1		31
-#define SCLK_TIMER2		32
-#define SCLK_TIMER3		33
-#define SCLK_TIMER4		34
-#define SCLK_TIMER5		35
-#define SCLK_TSADC		36
-#define SCLK_SARADC		37
-#define SCLK_OTP		38
-#define SCLK_OTP_USR		39
-#define SCLK_CPU_BOOST		40
-#define SCLK_CRYPTO		41
-#define SCLK_CRYPTO_APK		42
-#define SCLK_NANDC_DIV		43
-#define SCLK_NANDC_DIV50	44
-#define SCLK_NANDC		45
-#define SCLK_SDMMC_DIV		46
-#define SCLK_SDMMC_DIV50	47
-#define SCLK_SDMMC		48
-#define SCLK_SDMMC_DRV		49
-#define SCLK_SDMMC_SAMPLE	50
-#define SCLK_SDIO_DIV		51
-#define SCLK_SDIO_DIV50		52
-#define SCLK_SDIO		53
-#define SCLK_SDIO_DRV		54
-#define SCLK_SDIO_SAMPLE	55
-#define SCLK_EMMC_DIV		56
-#define SCLK_EMMC_DIV50		57
-#define SCLK_EMMC		58
-#define SCLK_EMMC_DRV		59
-#define SCLK_EMMC_SAMPLE	60
-#define SCLK_SFC		61
-#define SCLK_OTG_ADP		62
-#define SCLK_MAC_SRC		63
-#define SCLK_MAC		64
-#define SCLK_MAC_REF		65
-#define SCLK_MAC_RX_TX		66
-#define SCLK_MAC_RMII		67
-#define SCLK_DDR_MON_TIMER	68
-#define SCLK_DDR_MON		69
-#define SCLK_DDRCLK		70
-#define SCLK_PMU		71
-#define SCLK_USBPHY_REF		72
-#define SCLK_WIFI		73
-#define SCLK_PVTM_PMU		74
-#define SCLK_PDM		75
-#define SCLK_I2S0_8CH_TX	76
-#define SCLK_I2S0_8CH_TX_OUT	77
-#define SCLK_I2S0_8CH_RX	78
-#define SCLK_I2S0_8CH_RX_OUT	79
-#define SCLK_I2S1_8CH_TX	80
-#define SCLK_I2S1_8CH_TX_OUT	81
-#define SCLK_I2S1_8CH_RX	82
-#define SCLK_I2S1_8CH_RX_OUT	83
-#define SCLK_I2S2_8CH_TX	84
-#define SCLK_I2S2_8CH_TX_OUT	85
-#define SCLK_I2S2_8CH_RX	86
-#define SCLK_I2S2_8CH_RX_OUT	87
-#define SCLK_I2S3_8CH_TX	88
-#define SCLK_I2S3_8CH_TX_OUT	89
-#define SCLK_I2S3_8CH_RX	90
-#define SCLK_I2S3_8CH_RX_OUT	91
-#define SCLK_I2S0_2CH		92
-#define SCLK_I2S0_2CH_OUT	93
-#define SCLK_I2S1_2CH		94
-#define SCLK_I2S1_2CH_OUT	95
-#define SCLK_SPDIF_TX_DIV	96
-#define SCLK_SPDIF_TX_DIV50	97
-#define SCLK_SPDIF_TX		98
-#define SCLK_SPDIF_RX_DIV	99
-#define SCLK_SPDIF_RX_DIV50	100
-#define SCLK_SPDIF_RX		101
-#define SCLK_I2S0_8CH_TX_MUX	102
-#define SCLK_I2S0_8CH_RX_MUX	103
-#define SCLK_I2S1_8CH_TX_MUX	104
-#define SCLK_I2S1_8CH_RX_MUX	105
-#define SCLK_I2S2_8CH_TX_MUX	106
-#define SCLK_I2S2_8CH_RX_MUX	107
-#define SCLK_I2S3_8CH_TX_MUX	108
-#define SCLK_I2S3_8CH_RX_MUX	109
-#define SCLK_I2S0_8CH_TX_SRC	110
-#define SCLK_I2S0_8CH_RX_SRC	111
-#define SCLK_I2S1_8CH_TX_SRC	112
-#define SCLK_I2S1_8CH_RX_SRC	113
-#define SCLK_I2S2_8CH_TX_SRC	114
-#define SCLK_I2S2_8CH_RX_SRC	115
-#define SCLK_I2S3_8CH_TX_SRC	116
-#define SCLK_I2S3_8CH_RX_SRC	117
-#define SCLK_I2S0_2CH_SRC	118
-#define SCLK_I2S1_2CH_SRC	119
-#define SCLK_PWM1		120
-#define SCLK_PWM2		121
-#define SCLK_OWIRE		122
-
-/* dclk */
-#define DCLK_VOP		125
-
-/* aclk */
-#define ACLK_BUS_SRC		130
-#define ACLK_BUS		131
-#define ACLK_PERI_SRC		132
-#define ACLK_PERI		133
-#define ACLK_MAC		134
-#define ACLK_CRYPTO		135
-#define ACLK_VOP		136
-#define ACLK_GIC		137
-#define ACLK_DMAC0		138
-#define ACLK_DMAC1		139
-
-/* hclk */
-#define HCLK_BUS		150
-#define HCLK_PERI		151
-#define HCLK_AUDIO		152
-#define HCLK_NANDC		153
-#define HCLK_SDMMC		154
-#define HCLK_SDIO		155
-#define HCLK_EMMC		156
-#define HCLK_SFC		157
-#define HCLK_OTG		158
-#define HCLK_HOST		159
-#define HCLK_HOST_ARB		160
-#define HCLK_PDM		161
-#define HCLK_SPDIFTX		162
-#define HCLK_SPDIFRX		163
-#define HCLK_I2S0_8CH		164
-#define HCLK_I2S1_8CH		165
-#define HCLK_I2S2_8CH		166
-#define HCLK_I2S3_8CH		167
-#define HCLK_I2S0_2CH		168
-#define HCLK_I2S1_2CH		169
-#define HCLK_VAD		170
-#define HCLK_CRYPTO		171
-#define HCLK_VOP		172
-
-/* pclk */
-#define PCLK_BUS		190
-#define PCLK_DDR		191
-#define PCLK_PERI		192
-#define PCLK_PMU		193
-#define PCLK_AUDIO		194
-#define PCLK_MAC		195
-#define PCLK_ACODEC		196
-#define PCLK_UART0		197
-#define PCLK_UART1		198
-#define PCLK_UART2		199
-#define PCLK_UART3		200
-#define PCLK_UART4		201
-#define PCLK_I2C0		202
-#define PCLK_I2C1		203
-#define PCLK_I2C2		204
-#define PCLK_I2C3		205
-#define PCLK_PWM0		206
-#define PCLK_SPI0		207
-#define PCLK_SPI1		208
-#define PCLK_SPI2		209
-#define PCLK_SARADC		210
-#define PCLK_TSADC		211
-#define PCLK_TIMER		212
-#define PCLK_OTP_NS		213
-#define PCLK_WDT		214
-#define PCLK_GPIO0		215
-#define PCLK_GPIO1		216
-#define PCLK_GPIO2		217
-#define PCLK_GPIO3		218
-#define PCLK_GPIO4		219
-#define PCLK_SGRF		220
-#define PCLK_GRF		221
-#define PCLK_USBSD_DET		222
-#define PCLK_DDR_UPCTL		223
-#define PCLK_DDR_MON		224
-#define PCLK_DDRPHY		225
-#define PCLK_DDR_STDBY		226
-#define PCLK_USB_GRF		227
-#define PCLK_CRU		228
-#define PCLK_OTP_PHY		229
-#define PCLK_CPU_BOOST		230
-#define PCLK_PWM1		231
-#define PCLK_PWM2		232
-#define PCLK_CAN		233
-#define PCLK_OWIRE		234
-
-#define CLK_NR_CLKS		(PCLK_OWIRE + 1)
-
-/* soft-reset indices */
-
-/* cru_softrst_con0 */
-#define SRST_CORE0_PO		0
-#define SRST_CORE1_PO		1
-#define SRST_CORE2_PO		2
-#define SRST_CORE3_PO		3
-#define SRST_CORE0		4
-#define SRST_CORE1		5
-#define SRST_CORE2		6
-#define SRST_CORE3		7
-#define SRST_CORE0_DBG		8
-#define SRST_CORE1_DBG		9
-#define SRST_CORE2_DBG		10
-#define SRST_CORE3_DBG		11
-#define SRST_TOPDBG		12
-#define SRST_CORE_NOC		13
-#define SRST_STRC_A		14
-#define SRST_L2C		15
-
-/* cru_softrst_con1 */
-#define SRST_DAP		16
-#define SRST_CORE_PVTM		17
-#define SRST_CORE_PRF		18
-#define SRST_CORE_GRF		19
-#define SRST_DDRUPCTL		20
-#define SRST_DDRUPCTL_P		22
-#define SRST_MSCH		23
-#define SRST_DDRMON_P		25
-#define SRST_DDRSTDBY_P		26
-#define SRST_DDRSTDBY		27
-#define SRST_DDRPHY		28
-#define SRST_DDRPHY_DIV		29
-#define SRST_DDRPHY_P		30
-
-/* cru_softrst_con2 */
-#define SRST_BUS_NIU_H		32
-#define SRST_USB_NIU_P		33
-#define SRST_CRYPTO_A		34
-#define SRST_CRYPTO_H		35
-#define SRST_CRYPTO		36
-#define SRST_CRYPTO_APK		37
-#define SRST_VOP_A		38
-#define SRST_VOP_H		39
-#define SRST_VOP_D		40
-#define SRST_INTMEM_A		41
-#define SRST_ROM_H		42
-#define SRST_GIC_A		43
-#define SRST_UART0_P		44
-#define SRST_UART0		45
-#define SRST_UART1_P		46
-#define SRST_UART1		47
-
-/* cru_softrst_con3 */
-#define SRST_UART2_P		48
-#define SRST_UART2		49
-#define SRST_UART3_P		50
-#define SRST_UART3		51
-#define SRST_UART4_P		52
-#define SRST_UART4		53
-#define SRST_I2C0_P		54
-#define SRST_I2C0		55
-#define SRST_I2C1_P		56
-#define SRST_I2C1		57
-#define SRST_I2C2_P		58
-#define SRST_I2C2		59
-#define SRST_I2C3_P		60
-#define SRST_I2C3		61
-#define SRST_PWM0_P		62
-#define SRST_PWM0		63
-
-/* cru_softrst_con4 */
-#define SRST_SPI0_P		64
-#define SRST_SPI0		65
-#define SRST_SPI1_P		66
-#define SRST_SPI1		67
-#define SRST_SPI2_P		68
-#define SRST_SPI2		69
-#define SRST_SARADC_P		70
-#define SRST_TSADC_P		71
-#define SRST_TSADC		72
-#define SRST_TIMER0_P		73
-#define SRST_TIMER0		74
-#define SRST_TIMER1		75
-#define SRST_TIMER2		76
-#define SRST_TIMER3		77
-#define SRST_TIMER4		78
-#define SRST_TIMER5		79
-
-/* cru_softrst_con5 */
-#define SRST_OTP_NS_P		80
-#define SRST_OTP_NS_SBPI	81
-#define SRST_OTP_NS_USR		82
-#define SRST_OTP_PHY_P		83
-#define SRST_OTP_PHY		84
-#define SRST_GPIO0_P		86
-#define SRST_GPIO1_P		87
-#define SRST_GPIO2_P		88
-#define SRST_GPIO3_P		89
-#define SRST_GPIO4_P		90
-#define SRST_GRF_P		91
-#define SRST_USBSD_DET_P	92
-#define SRST_PMU		93
-#define SRST_PMU_PVTM		94
-#define SRST_USB_GRF_P		95
-
-/* cru_softrst_con6 */
-#define SRST_CPU_BOOST		96
-#define SRST_CPU_BOOST_P	97
-#define SRST_PWM1_P		98
-#define SRST_PWM1		99
-#define SRST_PWM2_P		100
-#define SRST_PWM2		101
-#define SRST_PERI_NIU_A		104
-#define SRST_PERI_NIU_H		105
-#define SRST_PERI_NIU_p		106
-#define SRST_USB2OTG_H		107
-#define SRST_USB2OTG		108
-#define SRST_USB2OTG_ADP	109
-#define SRST_USB2HOST_H		110
-#define SRST_USB2HOST_ARB_H	111
-
-/* cru_softrst_con7 */
-#define SRST_USB2HOST_AUX_H	112
-#define SRST_USB2HOST_EHCI	113
-#define SRST_USB2HOST		114
-#define SRST_USBPHYPOR		115
-#define SRST_UTMI0		116
-#define SRST_UTMI1		117
-#define SRST_SDIO_H		118
-#define SRST_EMMC_H		119
-#define SRST_SFC_H		120
-#define SRST_SFC		121
-#define SRST_SD_H		122
-#define SRST_NANDC_H		123
-#define SRST_NANDC_N		124
-#define SRST_MAC_A		125
-#define SRST_CAN_P		126
-#define SRST_OWIRE_P		127
-
-/* cru_softrst_con8 */
-#define SRST_AUDIO_NIU_H	128
-#define SRST_AUDIO_NIU_P	129
-#define SRST_PDM_H		130
-#define SRST_PDM_M		131
-#define SRST_SPDIFTX_H		132
-#define SRST_SPDIFTX_M		133
-#define SRST_SPDIFRX_H		134
-#define SRST_SPDIFRX_M		135
-#define SRST_I2S0_8CH_H		136
-#define SRST_I2S0_8CH_TX_M	137
-#define SRST_I2S0_8CH_RX_M	138
-#define SRST_I2S1_8CH_H		139
-#define SRST_I2S1_8CH_TX_M	140
-#define SRST_I2S1_8CH_RX_M	141
-#define SRST_I2S2_8CH_H		142
-#define SRST_I2S2_8CH_TX_M	143
-
-/* cru_softrst_con9 */
-#define SRST_I2S2_8CH_RX_M	144
-#define SRST_I2S3_8CH_H		145
-#define SRST_I2S3_8CH_TX_M	146
-#define SRST_I2S3_8CH_RX_M	147
-#define SRST_I2S0_2CH_H		148
-#define SRST_I2S0_2CH_M		149
-#define SRST_I2S1_2CH_H		150
-#define SRST_I2S1_2CH_M		151
-#define SRST_VAD_H		152
-#define SRST_ACODEC_P		153
-
-#endif