dove-cubox.dts 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144
  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. };
  38. };
  39. clocks {
  40. /* 25MHz reference crystal */
  41. ref25: oscillator {
  42. compatible = "fixed-clock";
  43. #clock-cells = <0>;
  44. clock-frequency = <25000000>;
  45. };
  46. };
  47. };
  48. &uart0 { status = "okay"; };
  49. &sata0 { status = "okay"; };
  50. &mdio { status = "okay"; };
  51. &eth { status = "okay"; };
  52. &ethphy {
  53. compatible = "marvell,88e1310";
  54. reg = <1>;
  55. };
  56. &i2c0 {
  57. status = "okay";
  58. clock-frequency = <100000>;
  59. si5351: clock-generator {
  60. compatible = "silabs,si5351a-msop";
  61. reg = <0x60>;
  62. #address-cells = <1>;
  63. #size-cells = <0>;
  64. #clock-cells = <1>;
  65. /* connect xtal input to 25MHz reference */
  66. clocks = <&ref25>;
  67. /* connect xtal input as source of pll0 and pll1 */
  68. silabs,pll-source = <0 0>, <1 0>;
  69. clkout0 {
  70. reg = <0>;
  71. silabs,drive-strength = <8>;
  72. silabs,multisynth-source = <0>;
  73. silabs,clock-source = <0>;
  74. silabs,pll-master;
  75. };
  76. clkout1 {
  77. reg = <1>;
  78. silabs,drive-strength = <8>;
  79. silabs,multisynth-source = <1>;
  80. silabs,clock-source = <0>;
  81. silabs,pll-master;
  82. };
  83. clkout2 {
  84. reg = <2>;
  85. silabs,multisynth-source = <1>;
  86. silabs,clock-source = <0>;
  87. };
  88. };
  89. };
  90. &sdio0 {
  91. status = "okay";
  92. /* sdio0 card detect is connected to wrong pin on CuBox */
  93. cd-gpios = <&gpio0 12 1>;
  94. };
  95. &spi0 {
  96. status = "okay";
  97. /* spi0.0: 4M Flash Winbond W25Q32BV */
  98. spi-flash@0 {
  99. compatible = "st,w25q32";
  100. spi-max-frequency = <20000000>;
  101. reg = <0>;
  102. };
  103. };
  104. &pinctrl {
  105. pinctrl-0 = <&pmx_gpio_1 &pmx_gpio_12>;
  106. pinctrl-names = "default";
  107. pmx_gpio_1: pmx-gpio-1 {
  108. marvell,pins = "mpp1";
  109. marvell,function = "gpio";
  110. };
  111. pmx_gpio_12: pmx-gpio-12 {
  112. marvell,pins = "mpp12";
  113. marvell,function = "gpio";
  114. };
  115. pmx_gpio_18: pmx-gpio-18 {
  116. marvell,pins = "mpp18";
  117. marvell,function = "gpio";
  118. };
  119. };