Skip to content

Commit

Permalink
Merge tag 'u-boot-rockchip-20210121' of https://gitlab.denx.de/u-boot…
Browse files Browse the repository at this point in the history
…/custodians/u-boot-rockchip

- New board: rk3328 NanoPi R2S board;
- Fix init voltage for some rk3399 boards;
- enable rng for rk3399 by default;
- set default to SPI bus 1 for SPI-flash for some board;
- add dwc PCIe controller driver on rockchip platform;
  • Loading branch information
trini committed Jan 21, 2021
2 parents 83433fd + 9ddc078 commit 184aa65
Show file tree
Hide file tree
Showing 25 changed files with 1,594 additions and 19 deletions.
1 change: 1 addition & 0 deletions arch/arm/dts/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ dtb-$(CONFIG_ROCKCHIP_RK3308) += \

dtb-$(CONFIG_ROCKCHIP_RK3328) += \
rk3328-evb.dtb \
rk3328-nanopi-r2s.dtb \
rk3328-roc-cc.dtb \
rk3328-rock64.dtb \
rk3328-rock-pi-e.dtb
Expand Down
40 changes: 40 additions & 0 deletions arch/arm/dts/rk3328-nanopi-r2s-u-boot.dtsi
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
// SPDX-License-Identifier: GPL-2.0+
/*
* (C) Copyright 2018-2019 Rockchip Electronics Co., Ltd
* (C) Copyright 2020 David Bauer
*/

#include "rk3328-u-boot.dtsi"
#include "rk3328-sdram-ddr4-666.dtsi"
/ {
chosen {
u-boot,spl-boot-order = "same-as-spl", &sdmmc, &emmc;
};
};

&gpio0 {
u-boot,dm-spl;
};

&pinctrl {
u-boot,dm-spl;
};

&sdmmc0m1_gpio {
u-boot,dm-spl;
};

&pcfg_pull_up_4ma {
u-boot,dm-spl;
};

/* Need this and all the pinctrl/gpio stuff above to set pinmux */
&vcc_sd {
u-boot,dm-spl;
};

&gmac2io {
snps,reset-gpio = <&gpio1 RK_PC2 GPIO_ACTIVE_LOW>;
snps,reset-active-low;
snps,reset-delays-us = <0 10000 50000>;
};
Loading

0 comments on commit 184aa65

Please sign in to comment.