2020-07-01 09:28:42 +00:00
|
|
|
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
|
|
|
|
/*
|
|
|
|
* Copyright (c) 2020 Theobroma Systems Design und Consulting GmbH
|
|
|
|
*/
|
|
|
|
|
|
|
|
/ {
|
|
|
|
chosen {
|
|
|
|
u-boot,spl-boot-order = &sdmmc;
|
|
|
|
};
|
2021-08-05 08:27:52 +00:00
|
|
|
|
|
|
|
aliases {
|
|
|
|
i2c0 = &i2c0;
|
|
|
|
i2c1 = &i2c1;
|
|
|
|
mmc0 = &sdmmc;
|
|
|
|
serial1 = &uart1;
|
|
|
|
serial2 = &uart2;
|
|
|
|
spi0 = &sfc;
|
|
|
|
};
|
2021-08-25 16:23:57 +00:00
|
|
|
|
2021-11-15 17:38:19 +00:00
|
|
|
dmc {
|
|
|
|
u-boot,dm-pre-reloc;
|
|
|
|
compatible = "rockchip,px30-dmc", "syscon";
|
|
|
|
reg = <0x0 0xff2a0000 0x0 0x1000>;
|
|
|
|
};
|
|
|
|
|
2021-08-25 16:23:57 +00:00
|
|
|
rng: rng@ff0b0000 {
|
|
|
|
compatible = "rockchip,cryptov2-rng";
|
|
|
|
reg = <0x0 0xff0b0000 0x0 0x4000>;
|
|
|
|
status = "okay";
|
|
|
|
};
|
2020-07-01 09:28:42 +00:00
|
|
|
};
|
|
|
|
|
2021-08-05 16:48:48 +00:00
|
|
|
/* U-Boot clk driver for px30 cannot set GPU_CLK */
|
2020-07-01 09:28:42 +00:00
|
|
|
&cru {
|
|
|
|
u-boot,dm-pre-reloc;
|
2021-08-05 16:48:48 +00:00
|
|
|
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>;
|
2020-07-01 09:28:42 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
&gpio0 {
|
|
|
|
u-boot,dm-pre-reloc;
|
|
|
|
};
|
|
|
|
|
|
|
|
&gpio1 {
|
|
|
|
u-boot,dm-pre-reloc;
|
|
|
|
};
|
|
|
|
|
|
|
|
&gpio2 {
|
|
|
|
u-boot,dm-pre-reloc;
|
|
|
|
};
|
|
|
|
|
|
|
|
&gpio3 {
|
|
|
|
u-boot,dm-pre-reloc;
|
|
|
|
};
|
|
|
|
|
|
|
|
&grf {
|
|
|
|
u-boot,dm-pre-reloc;
|
|
|
|
};
|
|
|
|
|
|
|
|
&pmucru {
|
|
|
|
u-boot,dm-pre-reloc;
|
|
|
|
};
|
|
|
|
|
|
|
|
&pmugrf {
|
|
|
|
u-boot,dm-pre-reloc;
|
|
|
|
};
|
|
|
|
|
|
|
|
&saradc {
|
|
|
|
u-boot,dm-pre-reloc;
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
&sdmmc {
|
|
|
|
u-boot,dm-pre-reloc;
|
|
|
|
|
|
|
|
/* mmc to sram can't do dma, prevent aborts transferring TF-A parts */
|
|
|
|
u-boot,spl-fifo-mode;
|
|
|
|
};
|
|
|
|
|
2021-08-05 08:27:52 +00:00
|
|
|
&sfc {
|
|
|
|
u-boot,dm-pre-reloc;
|
|
|
|
};
|
|
|
|
|
2021-11-15 17:38:20 +00:00
|
|
|
&{/spi@ff3a0000/flash@0} {
|
2021-08-05 08:27:52 +00:00
|
|
|
u-boot,dm-pre-reloc;
|
|
|
|
};
|
|
|
|
|
2020-07-01 09:28:42 +00:00
|
|
|
&uart1 {
|
|
|
|
clock-frequency = <24000000>;
|
|
|
|
u-boot,dm-pre-reloc;
|
|
|
|
};
|
|
|
|
|
|
|
|
&uart2 {
|
|
|
|
clock-frequency = <24000000>;
|
|
|
|
u-boot,dm-pre-reloc;
|
|
|
|
};
|
|
|
|
|
|
|
|
&xin24m {
|
|
|
|
u-boot,dm-pre-reloc;
|
|
|
|
};
|