dt-structs-gen.h 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. /*
  2. * DO NOT MODIFY
  3. *
  4. * Defines the structs used to hold devicetree data.
  5. * This was generated by dtoc from a .dtb (device tree binary) file.
  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_rockchip_rk3288_dw_mshc {
  22. fdt32_t bus_width;
  23. bool cap_mmc_highspeed;
  24. bool cap_sd_highspeed;
  25. fdt32_t card_detect_delay;
  26. struct phandle_1_arg clocks[4];
  27. bool disable_wp;
  28. fdt32_t fifo_depth;
  29. fdt32_t interrupts[3];
  30. fdt32_t max_frequency;
  31. bool mmc_hs200_1_8v;
  32. bool non_removable;
  33. fdt32_t num_slots;
  34. fdt32_t pinctrl_0[4];
  35. const char * pinctrl_names;
  36. fdt64_t reg[2];
  37. bool supports_emmc;
  38. bool supports_sd;
  39. bool u_boot_spl_fifo_mode;
  40. fdt32_t vmmc_supply;
  41. fdt32_t vqmmc_supply;
  42. };
  43. struct dtd_rockchip_rk3328_cru {
  44. fdt64_t reg[2];
  45. fdt32_t rockchip_grf;
  46. };
  47. struct dtd_rockchip_rk3328_dmc {
  48. fdt64_t reg[12];
  49. fdt32_t rockchip_sdram_params[196];
  50. };
  51. struct dtd_rockchip_rk3328_grf {
  52. fdt64_t reg[2];
  53. };