2019-03-11 08:20:03 +00:00
|
|
|
// SPDX-License-Identifier: GPL-2.0+
|
|
|
|
/*
|
|
|
|
* Copyright (C) 2019 Jagan Teki <jagan@amarulasolutions.com>
|
|
|
|
*/
|
2020-01-20 09:17:00 +00:00
|
|
|
#define USB_CLASS_HUB 9
|
|
|
|
|
|
|
|
/ {
|
|
|
|
aliases {
|
|
|
|
mmc0 = &sdhci;
|
|
|
|
mmc1 = &sdmmc;
|
2020-05-09 16:56:23 +00:00
|
|
|
pci0 = &pcie0;
|
2020-01-20 09:17:00 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
cic: syscon@ff620000 {
|
|
|
|
u-boot,dm-pre-reloc;
|
|
|
|
compatible = "rockchip,rk3399-cic", "syscon";
|
|
|
|
reg = <0x0 0xff620000 0x0 0x100>;
|
|
|
|
};
|
|
|
|
|
|
|
|
dfi: dfi@ff630000 {
|
|
|
|
u-boot,dm-pre-reloc;
|
|
|
|
reg = <0x00 0xff630000 0x00 0x4000>;
|
|
|
|
compatible = "rockchip,rk3399-dfi";
|
|
|
|
rockchip,pmu = <&pmugrf>;
|
|
|
|
clocks = <&cru PCLK_DDR_MON>;
|
|
|
|
clock-names = "pclk_ddr_mon";
|
|
|
|
};
|
|
|
|
|
2020-03-31 09:39:57 +00:00
|
|
|
rng: rng@ff8b8000 {
|
|
|
|
compatible = "rockchip,cryptov1-rng";
|
|
|
|
reg = <0x0 0xff8b8000 0x0 0x1000>;
|
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
2020-01-20 09:17:00 +00:00
|
|
|
dmc: dmc {
|
|
|
|
u-boot,dm-pre-reloc;
|
|
|
|
compatible = "rockchip,rk3399-dmc";
|
|
|
|
devfreq-events = <&dfi>;
|
|
|
|
interrupts = <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH 0>;
|
|
|
|
clocks = <&cru SCLK_DDRCLK>;
|
|
|
|
clock-names = "dmc_clk";
|
|
|
|
reg = <0x0 0xffa80000 0x0 0x0800
|
|
|
|
0x0 0xffa80800 0x0 0x1800
|
|
|
|
0x0 0xffa82000 0x0 0x2000
|
|
|
|
0x0 0xffa84000 0x0 0x1000
|
|
|
|
0x0 0xffa88000 0x0 0x0800
|
|
|
|
0x0 0xffa88800 0x0 0x1800
|
|
|
|
0x0 0xffa8a000 0x0 0x2000
|
|
|
|
0x0 0xffa8c000 0x0 0x1000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
pmusgrf: syscon@ff330000 {
|
|
|
|
u-boot,dm-pre-reloc;
|
|
|
|
compatible = "rockchip,rk3399-pmusgrf", "syscon";
|
|
|
|
reg = <0x0 0xff330000 0x0 0xe3d4>;
|
|
|
|
};
|
2019-03-11 08:20:03 +00:00
|
|
|
|
2019-11-09 20:30:05 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
&cru {
|
|
|
|
u-boot,dm-pre-reloc;
|
|
|
|
};
|
|
|
|
|
|
|
|
&grf {
|
|
|
|
u-boot,dm-pre-reloc;
|
|
|
|
};
|
|
|
|
|
|
|
|
&pinctrl {
|
|
|
|
u-boot,dm-pre-reloc;
|
|
|
|
};
|
|
|
|
|
2019-07-16 11:57:34 +00:00
|
|
|
&pmu {
|
|
|
|
u-boot,dm-pre-reloc;
|
|
|
|
};
|
|
|
|
|
2019-11-09 20:30:05 +00:00
|
|
|
&pmugrf {
|
|
|
|
u-boot,dm-pre-reloc;
|
|
|
|
};
|
|
|
|
|
|
|
|
&pmu {
|
|
|
|
u-boot,dm-pre-reloc;
|
|
|
|
};
|
|
|
|
|
|
|
|
&pmucru {
|
|
|
|
u-boot,dm-pre-reloc;
|
|
|
|
};
|
|
|
|
|
|
|
|
&sdhci {
|
2020-04-28 10:00:17 +00:00
|
|
|
max-frequency = <200000000>;
|
2019-11-09 20:30:05 +00:00
|
|
|
u-boot,dm-pre-reloc;
|
|
|
|
};
|
|
|
|
|
2019-03-11 08:20:03 +00:00
|
|
|
&sdmmc {
|
|
|
|
u-boot,dm-pre-reloc;
|
2020-04-15 03:25:24 +00:00
|
|
|
|
|
|
|
/* mmc to sram can't do dma, prevent aborts transferring TF-A parts */
|
|
|
|
u-boot,spl-fifo-mode;
|
2019-03-11 08:20:03 +00:00
|
|
|
};
|
2019-05-07 18:21:51 +00:00
|
|
|
|
|
|
|
&spi1 {
|
|
|
|
u-boot,dm-pre-reloc;
|
|
|
|
};
|
2019-06-20 18:55:02 +00:00
|
|
|
|
|
|
|
&uart0 {
|
|
|
|
u-boot,dm-pre-reloc;
|
|
|
|
};
|
|
|
|
|
|
|
|
&uart2 {
|
|
|
|
u-boot,dm-pre-reloc;
|
|
|
|
};
|
2019-11-09 20:30:05 +00:00
|
|
|
|
|
|
|
&vopb {
|
|
|
|
u-boot,dm-pre-reloc;
|
|
|
|
};
|
|
|
|
|
|
|
|
&vopl {
|
|
|
|
u-boot,dm-pre-reloc;
|
|
|
|
};
|