mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2025-01-25 08:02:57 +00:00
b832ebb886
Update the uboot-rockchip to the latest upstream release. Remove upstreamed patches. Tested-on: FriendlyElec NanoPi R2S Signed-off-by: David Bauer <mail@david-bauer.net>
52 lines
1.1 KiB
C
52 lines
1.1 KiB
C
/*
|
|
* DO NOT MODIFY
|
|
*
|
|
* Defines the structs used to hold devicetree data.
|
|
* This was generated by dtoc from a .dtb (device tree binary) file.
|
|
*/
|
|
|
|
#include <stdbool.h>
|
|
#include <linux/libfdt.h>
|
|
struct dtd_ns16550_serial {
|
|
fdt32_t clock_frequency;
|
|
struct phandle_1_arg clocks[2];
|
|
const char * dma_names[2];
|
|
fdt32_t dmas[4];
|
|
fdt32_t interrupts[3];
|
|
fdt32_t pinctrl_0;
|
|
const char * pinctrl_names;
|
|
fdt64_t reg[2];
|
|
fdt32_t reg_io_width;
|
|
fdt32_t reg_shift;
|
|
};
|
|
struct dtd_rockchip_rk3288_dw_mshc {
|
|
fdt32_t bus_width;
|
|
bool cap_sd_highspeed;
|
|
struct phandle_1_arg clocks[4];
|
|
bool disable_wp;
|
|
fdt32_t fifo_depth;
|
|
fdt32_t interrupts[3];
|
|
fdt32_t max_frequency;
|
|
fdt32_t pinctrl_0[4];
|
|
const char * pinctrl_names;
|
|
fdt64_t reg[2];
|
|
bool sd_uhs_sdr104;
|
|
bool sd_uhs_sdr12;
|
|
bool sd_uhs_sdr25;
|
|
bool sd_uhs_sdr50;
|
|
bool u_boot_spl_fifo_mode;
|
|
fdt32_t vmmc_supply;
|
|
fdt32_t vqmmc_supply;
|
|
};
|
|
struct dtd_rockchip_rk3328_cru {
|
|
fdt64_t reg[2];
|
|
fdt32_t rockchip_grf;
|
|
};
|
|
struct dtd_rockchip_rk3328_dmc {
|
|
fdt64_t reg[12];
|
|
fdt32_t rockchip_sdram_params[196];
|
|
};
|
|
struct dtd_rockchip_rk3328_grf {
|
|
fdt64_t reg[2];
|
|
};
|