dove-cubox.dts 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143
  1. // SPDX-License-Identifier: GPL-2.0
  2. /dts-v1/;
  3. #include "dove.dtsi"
  4. / {
  5. model = "SolidRun CuBox";
  6. compatible = "solidrun,cubox", "marvell,dove";
  7. memory {
  8. device_type = "memory";
  9. reg = <0x00000000 0x40000000>;
  10. };
  11. chosen {
  12. bootargs = "console=ttyS0,115200n8 earlyprintk";
  13. };
  14. leds {
  15. compatible = "gpio-leds";
  16. pinctrl-0 = <&pmx_gpio_18>;
  17. pinctrl-names = "default";
  18. power {
  19. label = "Power";
  20. gpios = <&gpio0 18 1>;
  21. default-state = "keep";
  22. };
  23. };
  24. regulators {
  25. compatible = "simple-bus";
  26. #address-cells = <1>;
  27. #size-cells = <0>;
  28. usb_power: regulator@1 {
  29. compatible = "regulator-fixed";
  30. reg = <1>;
  31. regulator-name = "USB Power";
  32. regulator-min-microvolt = <5000000>;
  33. regulator-max-microvolt = <5000000>;
  34. enable-active-high;
  35. regulator-always-on;
  36. regulator-boot-on;
  37. gpio = <&gpio0 1 0>;
  38. pinctrl-0 = <&pmx_gpio_1>;
  39. pinctrl-names = "default";
  40. };
  41. };
  42. clocks {
  43. /* 25MHz reference crystal */
  44. ref25: oscillator {
  45. compatible = "fixed-clock";
  46. #clock-cells = <0>;
  47. clock-frequency = <25000000>;
  48. };
  49. };
  50. ir_recv: ir-receiver {
  51. compatible = "gpio-ir-receiver";
  52. gpios = <&gpio0 19 1>;
  53. pinctrl-0 = <&pmx_gpio_19>;
  54. pinctrl-names = "default";
  55. };
  56. gpu-subsystem {
  57. status = "okay";
  58. };
  59. };
  60. &uart0 { status = "okay"; };
  61. &sata0 { status = "okay"; };
  62. &mdio { status = "okay"; };
  63. &eth { status = "okay"; };
  64. &ethphy {
  65. compatible = "marvell,88e1310";
  66. reg = <1>;
  67. };
  68. &gpu {
  69. status = "okay";
  70. };
  71. &i2c0 {
  72. status = "okay";
  73. clock-frequency = <100000>;
  74. si5351: clock-generator@60 {
  75. compatible = "silabs,si5351a-msop";
  76. reg = <0x60>;
  77. #address-cells = <1>;
  78. #size-cells = <0>;
  79. #clock-cells = <1>;
  80. /* connect xtal input to 25MHz reference */
  81. clocks = <&ref25>;
  82. clock-names = "xtal";
  83. /* connect xtal input as source of pll0 and pll1 */
  84. silabs,pll-source = <0 0>, <1 0>;
  85. clkout0 {
  86. reg = <0>;
  87. silabs,drive-strength = <8>;
  88. silabs,multisynth-source = <0>;
  89. silabs,clock-source = <0>;
  90. silabs,pll-master;
  91. };
  92. clkout2 {
  93. reg = <2>;
  94. silabs,drive-strength = <8>;
  95. silabs,multisynth-source = <1>;
  96. silabs,clock-source = <0>;
  97. silabs,pll-master;
  98. };
  99. };
  100. };
  101. &sdio0 {
  102. status = "okay";
  103. };
  104. &spi0 {
  105. status = "okay";
  106. /* spi0.0: 4M Flash Winbond W25Q32BV */
  107. flash@0 {
  108. compatible = "st,w25q32";
  109. spi-max-frequency = <20000000>;
  110. reg = <0>;
  111. };
  112. };
  113. &audio1 {
  114. status = "okay";
  115. clocks = <&gate_clk 13>, <&si5351 2>;
  116. clock-names = "internal", "extclk";
  117. pinctrl-0 = <&pmx_audio1_i2s1_spdifo &pmx_audio1_extclk>;
  118. pinctrl-names = "default";
  119. };