blob: bffaa3edf334f17db5ca60c482ddaa7efe949372 [file] [log] [blame]
Heiko Stuebnera9ca71e2020-07-01 11:28:42 +02001// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2/*
3 * Copyright (c) 2020 Theobroma Systems Design und Consulting GmbH
4 */
5
6/ {
7 chosen {
8 u-boot,spl-boot-order = &sdmmc;
9 };
Chris Morgana6b6ac22021-08-05 16:27:52 +080010
11 aliases {
12 i2c0 = &i2c0;
13 i2c1 = &i2c1;
14 mmc0 = &sdmmc;
15 serial1 = &uart1;
16 serial2 = &uart2;
17 spi0 = &sfc;
18 };
Heiko Stuebnera9ca71e2020-07-01 11:28:42 +020019};
20
Chris Morganb53667f2021-08-05 11:48:48 -050021/* U-Boot clk driver for px30 cannot set GPU_CLK */
Heiko Stuebnera9ca71e2020-07-01 11:28:42 +020022&cru {
23 u-boot,dm-pre-reloc;
Chris Morganb53667f2021-08-05 11:48:48 -050024 assigned-clocks = <&cru PLL_NPLL>,
25 <&cru ACLK_BUS_PRE>, <&cru ACLK_PERI_PRE>,
26 <&cru HCLK_BUS_PRE>, <&cru HCLK_PERI_PRE>,
27 <&cru PCLK_BUS_PRE>, <&cru PLL_CPLL>;
28
29 assigned-clock-rates = <1188000000>,
30 <200000000>, <200000000>,
31 <150000000>, <150000000>,
32 <100000000>, <17000000>;
Heiko Stuebnera9ca71e2020-07-01 11:28:42 +020033};
34
35&dmc {
36 u-boot,dm-pre-reloc;
37};
38
39&gpio0 {
40 u-boot,dm-pre-reloc;
41};
42
43&gpio1 {
44 u-boot,dm-pre-reloc;
45};
46
47&gpio2 {
48 u-boot,dm-pre-reloc;
49};
50
51&gpio3 {
52 u-boot,dm-pre-reloc;
53};
54
55&grf {
56 u-boot,dm-pre-reloc;
57};
58
59&pmucru {
60 u-boot,dm-pre-reloc;
61};
62
63&pmugrf {
64 u-boot,dm-pre-reloc;
65};
66
67&saradc {
68 u-boot,dm-pre-reloc;
69 status = "okay";
70};
71
72&sdmmc {
73 u-boot,dm-pre-reloc;
74
75 /* mmc to sram can't do dma, prevent aborts transferring TF-A parts */
76 u-boot,spl-fifo-mode;
77};
78
Chris Morgana6b6ac22021-08-05 16:27:52 +080079&sfc {
80 u-boot,dm-pre-reloc;
81};
82
Chris Morgan24c96a52021-08-20 20:46:58 -050083&{/sfc@ff3a0000/flash@0} {
Chris Morgana6b6ac22021-08-05 16:27:52 +080084 u-boot,dm-pre-reloc;
85};
86
Heiko Stuebnera9ca71e2020-07-01 11:28:42 +020087&uart1 {
88 clock-frequency = <24000000>;
89 u-boot,dm-pre-reloc;
90};
91
92&uart2 {
93 clock-frequency = <24000000>;
94 u-boot,dm-pre-reloc;
95};
96
97&xin24m {
98 u-boot,dm-pre-reloc;
99};