dove-cubox.dts 2.4 KB

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