mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-27 16:01:27 +00:00

The commit f087f7fd27
("rockchip: px30/rk3326: migrate to
OF_UPSTREAM") migrated px30/rk3326 boards to use OF_UPSTREAM, however
the soc dtsi and dt-bindings files remained.
Remove the remaining px30/rk3326 soc dtsi and dt-bindings to ensure the
files from dts/upstream is used.
The gpio-ranges props is moved to u-boot.dtsi files and a ethernet0
alias is added to px30-firefly, they are missing in the dts/upstream
files. No changes are expected with this.
Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
128 lines
1.9 KiB
Text
128 lines
1.9 KiB
Text
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
|
|
/*
|
|
* Copyright (c) 2020 Theobroma Systems Design und Consulting GmbH
|
|
*/
|
|
|
|
#include "rockchip-u-boot.dtsi"
|
|
|
|
/ {
|
|
chosen {
|
|
u-boot,spl-boot-order = &sdmmc;
|
|
};
|
|
|
|
aliases {
|
|
i2c0 = &i2c0;
|
|
i2c1 = &i2c1;
|
|
mmc0 = &sdmmc;
|
|
serial1 = &uart1;
|
|
serial2 = &uart2;
|
|
spi0 = &sfc;
|
|
};
|
|
|
|
dmc {
|
|
bootph-all;
|
|
compatible = "rockchip,px30-dmc", "syscon";
|
|
reg = <0x0 0xff2a0000 0x0 0x1000>;
|
|
};
|
|
|
|
rng: rng@ff0b0000 {
|
|
compatible = "rockchip,cryptov2-rng";
|
|
reg = <0x0 0xff0b0000 0x0 0x4000>;
|
|
status = "okay";
|
|
};
|
|
};
|
|
|
|
/* U-Boot clk driver for px30 cannot set GPU_CLK */
|
|
&cru {
|
|
bootph-all;
|
|
assigned-clocks = <&cru PLL_NPLL>,
|
|
<&cru ACLK_BUS_PRE>, <&cru ACLK_PERI_PRE>,
|
|
<&cru HCLK_BUS_PRE>, <&cru HCLK_PERI_PRE>,
|
|
<&cru PCLK_BUS_PRE>, <&cru PLL_CPLL>;
|
|
|
|
assigned-clock-rates = <1188000000>,
|
|
<200000000>, <200000000>,
|
|
<150000000>, <150000000>,
|
|
<100000000>, <17000000>;
|
|
};
|
|
|
|
&gpio0 {
|
|
bootph-all;
|
|
gpio-ranges = <&pinctrl 0 0 32>;
|
|
};
|
|
|
|
&gpio1 {
|
|
bootph-all;
|
|
gpio-ranges = <&pinctrl 0 32 32>;
|
|
};
|
|
|
|
&gpio2 {
|
|
bootph-all;
|
|
gpio-ranges = <&pinctrl 0 64 32>;
|
|
};
|
|
|
|
&gpio3 {
|
|
bootph-all;
|
|
gpio-ranges = <&pinctrl 0 96 32>;
|
|
};
|
|
|
|
&grf {
|
|
bootph-all;
|
|
};
|
|
|
|
&pmucru {
|
|
bootph-all;
|
|
};
|
|
|
|
&pmugrf {
|
|
bootph-all;
|
|
};
|
|
|
|
&rk817 {
|
|
regulators {
|
|
vcc_cam: LDO_REG9 {
|
|
regulator-name = "vcc_cam";
|
|
regulator-min-microvolt = <3000000>;
|
|
regulator-max-microvolt = <3000000>;
|
|
|
|
regulator-state-mem {
|
|
regulator-off-in-suspend;
|
|
regulator-suspend-microvolt = <3000000>;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
|
|
&saradc {
|
|
bootph-all;
|
|
status = "okay";
|
|
};
|
|
|
|
&sdmmc {
|
|
bootph-all;
|
|
|
|
/* mmc to sram can't do dma, prevent aborts transferring TF-A parts */
|
|
u-boot,spl-fifo-mode;
|
|
};
|
|
|
|
&sfc {
|
|
bootph-all;
|
|
};
|
|
|
|
&{/spi@ff3a0000/flash@0} {
|
|
bootph-all;
|
|
};
|
|
|
|
&uart1 {
|
|
clock-frequency = <24000000>;
|
|
bootph-all;
|
|
};
|
|
|
|
&uart2 {
|
|
clock-frequency = <24000000>;
|
|
bootph-all;
|
|
};
|
|
|
|
&xin24m {
|
|
bootph-all;
|
|
};
|