Kever Yang | e68e10b | 2019-08-15 11:40:56 +0800 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
Matwey V. Kornilov | 94b2661 | 2019-06-09 00:27:16 +0300 | [diff] [blame] | 2 | /* |
Kever Yang | e68e10b | 2019-08-15 11:40:56 +0800 | [diff] [blame] | 3 | * (C) Copyright 2018-2019 Rockchip Electronics Co., Ltd |
Matwey V. Kornilov | 94b2661 | 2019-06-09 00:27:16 +0300 | [diff] [blame] | 4 | */ |
5 | |||||
Kever Yang | e68e10b | 2019-08-15 11:40:56 +0800 | [diff] [blame] | 6 | #include "rk3328-u-boot.dtsi" |
Kever Yang | e0d3f88 | 2019-08-02 10:40:00 +0300 | [diff] [blame] | 7 | #include "rk3328-sdram-lpddr3-1600.dtsi" |
Emmanuel Vadot | fa43b61 | 2019-10-08 19:59:50 +0200 | [diff] [blame] | 8 | / { |
9 | chosen { | ||||
10 | u-boot,spl-boot-order = "same-as-spl", &sdmmc, &emmc; | ||||
11 | }; | ||||
Simon Glass | 8eb227e | 2020-11-05 06:32:12 -0700 | [diff] [blame] | 12 | |
13 | smbios { | ||||
14 | compatible = "u-boot,sysinfo-smbios"; | ||||
15 | |||||
16 | smbios { | ||||
17 | system { | ||||
18 | manufacturer = "pine64"; | ||||
19 | product = "rock64_rk3328"; | ||||
20 | }; | ||||
21 | |||||
22 | baseboard { | ||||
23 | manufacturer = "pine64"; | ||||
24 | product = "rock64_rk3328"; | ||||
25 | }; | ||||
26 | |||||
27 | chassis { | ||||
28 | manufacturer = "pine64"; | ||||
29 | product = "rock64_rk3328"; | ||||
30 | }; | ||||
31 | }; | ||||
32 | }; | ||||
Emmanuel Vadot | fa43b61 | 2019-10-08 19:59:50 +0200 | [diff] [blame] | 33 | }; |
Kever Yang | e0d3f88 | 2019-08-02 10:40:00 +0300 | [diff] [blame] | 34 | |
Kurt Miller | 2e20846 | 2020-05-13 15:55:20 -0400 | [diff] [blame] | 35 | &gpio0 { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 36 | bootph-pre-ram; |
Kurt Miller | 2e20846 | 2020-05-13 15:55:20 -0400 | [diff] [blame] | 37 | }; |
38 | |||||
39 | &pinctrl { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 40 | bootph-pre-ram; |
Kurt Miller | 2e20846 | 2020-05-13 15:55:20 -0400 | [diff] [blame] | 41 | }; |
42 | |||||
Peter Robinson | 7715db3 | 2021-07-22 16:20:43 +0100 | [diff] [blame] | 43 | &sdmmc0m1_pin { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 44 | bootph-pre-ram; |
Kurt Miller | 2e20846 | 2020-05-13 15:55:20 -0400 | [diff] [blame] | 45 | }; |
46 | |||||
47 | &pcfg_pull_up_4ma { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 48 | bootph-pre-ram; |
Kurt Miller | 2e20846 | 2020-05-13 15:55:20 -0400 | [diff] [blame] | 49 | }; |
50 | |||||
Kurt Miller | 2e20846 | 2020-05-13 15:55:20 -0400 | [diff] [blame] | 51 | /* Need this and all the pinctrl/gpio stuff above to set pinmux */ |
52 | &vcc_sd { | ||||
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 53 | bootph-pre-ram; |
Kurt Miller | 2e20846 | 2020-05-13 15:55:20 -0400 | [diff] [blame] | 54 | }; |
Johannes Krottmayer | b914d7d | 2020-07-09 00:50:33 +0200 | [diff] [blame] | 55 | |
56 | &spi0 { | ||||
Peter Robinson | c90ca2b | 2023-06-14 13:43:14 +0100 | [diff] [blame] | 57 | spi_flash: flash@0 { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 58 | bootph-all; |
Johannes Krottmayer | b914d7d | 2020-07-09 00:50:33 +0200 | [diff] [blame] | 59 | }; |
60 | }; |