"Das U-Boot" Source Tree
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at master 99 lines 1.8 kB view raw
1// SPDX-License-Identifier: GPL-2.0+ 2 3#include "rk3399-u-boot.dtsi" 4 5#ifdef CONFIG_TARGET_PUMA_RK3399_RAM_DDR3_1333 6#include "rk3399-sdram-ddr3-1333.dtsi" 7#endif 8#ifdef CONFIG_TARGET_PUMA_RK3399_RAM_DDR3_1600 9#include "rk3399-sdram-ddr3-1600.dtsi" 10#endif 11#ifdef CONFIG_TARGET_PUMA_RK3399_RAM_DDR3_1866 12#include "rk3399-sdram-ddr3-1866.dtsi" 13#endif 14 15/ { 16 config { 17 u-boot,spl-payload-offset = <0x80000>; /* @ 512KB */ 18 u-boot,mmc-env-offset = <0x5000>; /* @ 20KB */ 19 u-boot,efi-partition-entries-offset = <0x200000>; /* 2MB */ 20 u-boot,boot-led = "module_led"; 21 sysreset-gpio = <&gpio1 RK_PA6 GPIO_ACTIVE_HIGH>; 22 }; 23 24 chosen { 25 stdout-path = "serial0:115200n8"; 26 u-boot,spl-boot-order = \ 27 "same-as-spl", &norflash, &sdhci, &sdmmc; 28 }; 29 30 aliases { 31 spi5 = &spi5; 32 }; 33}; 34 35&binman { 36#ifdef CONFIG_ROCKCHIP_SPI_IMAGE 37 simple-bin-spi { 38 fit { 39 /* same as u-boot,spl-payload-offset */ 40 offset = <0x80000>; 41 }; 42 }; 43#endif 44}; 45 46&gpio1 { 47 bootph-all; 48}; 49 50&gpio3 { 51 bootph-all; 52 53 /* 54 * The Qseven BIOS_DISABLE signal on the RK3399-Q7 keeps the on-module 55 * eMMC and SPI flash powered-down initially (in fact it keeps the 56 * reset signal asserted). BIOS_DISABLE_OVERRIDE pin allows to re-enable 57 * eMMC and SPI after the SPL has been booted from SD Card. 58 */ 59 bios_disable_override { 60 bootph-all; 61 gpios = <RK_PD5 GPIO_ACTIVE_LOW>; 62 output-high; 63 line-name = "bios_disable_override"; 64 gpio-hog; 65 }; 66}; 67 68&gpio4 { 69 bootph-all; 70}; 71 72&norflash { 73 bootph-pre-ram; 74 bootph-some-ram; 75}; 76 77&uart0 { 78 bootph-all; 79 clock-frequency = <24000000>; 80}; 81 82&uart0_cts { 83 bootph-pre-sram; 84 bootph-pre-ram; 85}; 86 87&uart0_rts { 88 bootph-pre-sram; 89 bootph-pre-ram; 90}; 91 92&uart0_xfer { 93 bootph-pre-sram; 94 bootph-pre-ram; 95}; 96 97&vdd_log { 98 regulator-init-microvolt = <950000>; 99};