uboot-rockchip: update to v2021.01
[openwrt/openwrt.git] / package / boot / uboot-rockchip / src / of-platdata / nanopi-r2s-rk3328 / dt-structs-gen.h
1 /*
2 * DO NOT MODIFY
3 *
4 * This file was generated by dtoc from a .dtb (device tree binary) file.
5 */
6
7 #include <stdbool.h>
8 #include <linux/libfdt.h>
9 struct dtd_ns16550_serial {
10 fdt32_t clock_frequency;
11 struct phandle_1_arg clocks[2];
12 const char * dma_names[2];
13 fdt32_t dmas[4];
14 fdt32_t interrupts[3];
15 fdt32_t pinctrl_0;
16 const char * pinctrl_names;
17 fdt64_t reg[2];
18 fdt32_t reg_io_width;
19 fdt32_t reg_shift;
20 };
21 struct dtd_regulator_fixed {
22 fdt32_t gpio[3];
23 fdt32_t pinctrl_0;
24 const char * pinctrl_names;
25 fdt32_t regulator_max_microvolt;
26 fdt32_t regulator_min_microvolt;
27 const char * regulator_name;
28 fdt32_t vin_supply;
29 };
30 struct dtd_rockchip_gpio_bank {
31 struct phandle_1_arg clocks[1];
32 bool gpio_controller;
33 bool interrupt_controller;
34 fdt32_t interrupts[3];
35 fdt64_t reg[2];
36 };
37 struct dtd_rockchip_rk3288_dw_mshc {
38 fdt32_t bus_width;
39 bool cap_mmc_highspeed;
40 bool cap_sd_highspeed;
41 struct phandle_1_arg clocks[4];
42 bool disable_wp;
43 fdt32_t fifo_depth;
44 fdt32_t interrupts[3];
45 fdt32_t max_frequency;
46 fdt32_t pinctrl_0[4];
47 const char * pinctrl_names;
48 fdt64_t reg[2];
49 bool u_boot_spl_fifo_mode;
50 fdt32_t vmmc_supply;
51 fdt32_t vqmmc_supply;
52 };
53 struct dtd_rockchip_rk3328_cru {
54 fdt64_t reg[2];
55 fdt32_t rockchip_grf;
56 };
57 struct dtd_rockchip_rk3328_dmc {
58 fdt64_t reg[12];
59 fdt32_t rockchip_sdram_params[196];
60 };
61 struct dtd_rockchip_rk3328_grf {
62 fdt64_t reg[2];
63 };
64 struct dtd_rockchip_rk3328_pinctrl {
65 bool ranges;
66 fdt32_t rockchip_grf;
67 };