dove-cubox.dts 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  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. };
  40. &uart0 { status = "okay"; };
  41. &sata0 { status = "okay"; };
  42. &i2c0 { status = "okay"; };
  43. &sdio0 {
  44. status = "okay";
  45. /* sdio0 card detect is connected to wrong pin on CuBox */
  46. cd-gpios = <&gpio0 12 1>;
  47. };
  48. &spi0 {
  49. status = "okay";
  50. /* spi0.0: 4M Flash Winbond W25Q32BV */
  51. spi-flash@0 {
  52. compatible = "st,w25q32";
  53. spi-max-frequency = <20000000>;
  54. reg = <0>;
  55. };
  56. };
  57. &pinctrl {
  58. pinctrl-0 = <&pmx_gpio_1 &pmx_gpio_12>;
  59. pinctrl-names = "default";
  60. pmx_gpio_1: pmx-gpio-1 {
  61. marvell,pins = "mpp1";
  62. marvell,function = "gpio";
  63. };
  64. pmx_gpio_12: pmx-gpio-12 {
  65. marvell,pins = "mpp12";
  66. marvell,function = "gpio";
  67. };
  68. pmx_gpio_18: pmx-gpio-18 {
  69. marvell,pins = "mpp18";
  70. marvell,function = "gpio";
  71. };
  72. };