mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-30 06:53:09 +00:00
b5716c1325
Add U-Boot SPI support for the RK3328 Signed-off-by: Johannes Krottmayer <krjdev@gmail.com> Cc: Kever Yang <kever.yang@rock-chips.com> Cc: Jagan Teki <jagan@amarulasolutions.com> Reviewed-by: Kever Yang <kever.yang@rock-chips.com> (fix checkpatch error for code ident) Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
73 lines
1.3 KiB
Text
73 lines
1.3 KiB
Text
// SPDX-License-Identifier: GPL-2.0+
|
|
/*
|
|
* (C) Copyright 2019 Rockchip Electronics Co., Ltd
|
|
*/
|
|
|
|
/ {
|
|
aliases {
|
|
mmc0 = &emmc;
|
|
mmc1 = &sdmmc;
|
|
spi0 = &spi0;
|
|
};
|
|
|
|
chosen {
|
|
u-boot,spl-boot-order = &emmc, &sdmmc;
|
|
};
|
|
|
|
dmc: dmc {
|
|
u-boot,dm-pre-reloc;
|
|
compatible = "rockchip,rk3328-dmc";
|
|
reg = <0x0 0xff400000 0x0 0x1000
|
|
0x0 0xff780000 0x0 0x3000
|
|
0x0 0xff100000 0x0 0x1000
|
|
0x0 0xff440000 0x0 0x1000
|
|
0x0 0xff720000 0x0 0x1000
|
|
0x0 0xff798000 0x0 0x1000>;
|
|
};
|
|
|
|
usb_host0_xhci: usb@ff600000 {
|
|
compatible = "rockchip,rk3328-xhci";
|
|
reg = <0x0 0xff600000 0x0 0x100000>;
|
|
interrupts = <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>;
|
|
snps,dis-enblslpm-quirk;
|
|
snps,phyif-utmi-bits = <16>;
|
|
snps,dis-u2-freeclk-exists-quirk;
|
|
snps,dis-u2-susphy-quirk;
|
|
status = "disabled";
|
|
};
|
|
};
|
|
|
|
&cru {
|
|
u-boot,dm-pre-reloc;
|
|
};
|
|
|
|
&grf {
|
|
u-boot,dm-pre-reloc;
|
|
};
|
|
|
|
&uart2 {
|
|
u-boot,dm-pre-reloc;
|
|
clock-frequency = <24000000>;
|
|
};
|
|
|
|
&emmc {
|
|
u-boot,dm-pre-reloc;
|
|
|
|
/* mmc to sram can't do dma, prevent aborts transfering TF-A parts */
|
|
u-boot,spl-fifo-mode;
|
|
};
|
|
|
|
&sdmmc {
|
|
u-boot,dm-pre-reloc;
|
|
|
|
/* mmc to sram can't do dma, prevent aborts transfering TF-A parts */
|
|
u-boot,spl-fifo-mode;
|
|
};
|
|
|
|
&usb20_otg {
|
|
hnp-srp-disable;
|
|
};
|
|
|
|
&spi0 {
|
|
u-boot,dm-pre-reloc;
|
|
};
|