dove-cubox.dts 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  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. power {
  16. label = "Power";
  17. gpios = <&gpio0 18 1>;
  18. linux,default-trigger = "default-on";
  19. };
  20. };
  21. };
  22. &uart0 { status = "okay"; };
  23. &sata0 { status = "okay"; };
  24. &i2c0 { status = "okay"; };
  25. &sdio0 {
  26. status = "okay";
  27. /* sdio0 card detect is connected to wrong pin on CuBox */
  28. cd-gpios = <&gpio0 12 1>;
  29. };
  30. &spi0 {
  31. status = "okay";
  32. /* spi0.0: 4M Flash Winbond W25Q32BV */
  33. spi-flash@0 {
  34. compatible = "st,w25q32";
  35. spi-max-frequency = <20000000>;
  36. reg = <0>;
  37. };
  38. };
  39. &pinctrl {
  40. pinctrl-0 = <&pmx_gpio_12 &pmx_gpio_18>;
  41. pinctrl-names = "default";
  42. pmx_gpio_12: pmx-gpio-12 {
  43. marvell,pins = "mpp12";
  44. marvell,function = "gpio";
  45. };
  46. pmx_gpio_18: pmx-gpio-18 {
  47. marvell,pins = "mpp18";
  48. marvell,function = "gpio";
  49. };
  50. };