dove-cubox.dts 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  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. };
  50. &uart0 { status = "okay"; };
  51. &sata0 { status = "okay"; };
  52. &mdio { status = "okay"; };
  53. &eth { status = "okay"; };
  54. &ethphy {
  55. compatible = "marvell,88e1310";
  56. reg = <1>;
  57. };
  58. &i2c0 {
  59. status = "okay";
  60. clock-frequency = <100000>;
  61. si5351: clock-generator {
  62. compatible = "silabs,si5351a-msop";
  63. reg = <0x60>;
  64. #address-cells = <1>;
  65. #size-cells = <0>;
  66. #clock-cells = <1>;
  67. /* connect xtal input to 25MHz reference */
  68. clocks = <&ref25>;
  69. /* connect xtal input as source of pll0 and pll1 */
  70. silabs,pll-source = <0 0>, <1 0>;
  71. clkout0 {
  72. reg = <0>;
  73. silabs,drive-strength = <8>;
  74. silabs,multisynth-source = <0>;
  75. silabs,clock-source = <0>;
  76. silabs,pll-master;
  77. };
  78. clkout1 {
  79. reg = <1>;
  80. silabs,drive-strength = <8>;
  81. silabs,multisynth-source = <1>;
  82. silabs,clock-source = <0>;
  83. silabs,pll-master;
  84. };
  85. clkout2 {
  86. reg = <2>;
  87. silabs,multisynth-source = <1>;
  88. silabs,clock-source = <0>;
  89. };
  90. };
  91. };
  92. &sdio0 {
  93. status = "okay";
  94. /* sdio0 card detect is connected to wrong pin on CuBox */
  95. cd-gpios = <&gpio0 12 1>;
  96. pinctrl-0 = <&pmx_sdio0 &pmx_gpio_12>;
  97. };
  98. &spi0 {
  99. status = "okay";
  100. /* spi0.0: 4M Flash Winbond W25Q32BV */
  101. spi-flash@0 {
  102. compatible = "st,w25q32";
  103. spi-max-frequency = <20000000>;
  104. reg = <0>;
  105. };
  106. };