Heiko Stuebner | a9ca71e | 2020-07-01 11:28:42 +0200 | [diff] [blame] | 1 | // 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 Morgan | a6b6ac2 | 2021-08-05 16:27:52 +0800 | [diff] [blame] | 10 | |
| 11 | aliases { |
| 12 | i2c0 = &i2c0; |
| 13 | i2c1 = &i2c1; |
| 14 | mmc0 = &sdmmc; |
| 15 | serial1 = &uart1; |
| 16 | serial2 = &uart2; |
| 17 | spi0 = &sfc; |
| 18 | }; |
Heiko Stuebner | a9ca71e | 2020-07-01 11:28:42 +0200 | [diff] [blame] | 19 | }; |
| 20 | |
Chris Morgan | b53667f | 2021-08-05 11:48:48 -0500 | [diff] [blame] | 21 | /* U-Boot clk driver for px30 cannot set GPU_CLK */ |
Heiko Stuebner | a9ca71e | 2020-07-01 11:28:42 +0200 | [diff] [blame] | 22 | &cru { |
| 23 | u-boot,dm-pre-reloc; |
Chris Morgan | b53667f | 2021-08-05 11:48:48 -0500 | [diff] [blame] | 24 | 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 Stuebner | a9ca71e | 2020-07-01 11:28:42 +0200 | [diff] [blame] | 33 | }; |
| 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 Morgan | a6b6ac2 | 2021-08-05 16:27:52 +0800 | [diff] [blame] | 79 | &sfc { |
| 80 | u-boot,dm-pre-reloc; |
| 81 | }; |
| 82 | |
Chris Morgan | 24c96a5 | 2021-08-20 20:46:58 -0500 | [diff] [blame] | 83 | &{/sfc@ff3a0000/flash@0} { |
Chris Morgan | a6b6ac2 | 2021-08-05 16:27:52 +0800 | [diff] [blame] | 84 | u-boot,dm-pre-reloc; |
| 85 | }; |
| 86 | |
Heiko Stuebner | a9ca71e | 2020-07-01 11:28:42 +0200 | [diff] [blame] | 87 | &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 | }; |