tegra20-trimslice.dts 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  1. /dts-v1/;
  2. #include "tegra20.dtsi"
  3. / {
  4. model = "Compulab TrimSlice board";
  5. compatible = "compulab,trimslice", "nvidia,tegra20";
  6. chosen {
  7. stdout-path = &uarta;
  8. };
  9. aliases {
  10. usb0 = "/usb@c5008000";
  11. usb1 = "/usb@c5000000";
  12. sdhci0 = "/sdhci@c8000600";
  13. sdhci1 = "/sdhci@c8000000";
  14. spi0 = "/spi@7000c380";
  15. };
  16. memory {
  17. reg = <0x00000000 0x40000000>;
  18. };
  19. serial@70006000 {
  20. clock-frequency = <216000000>;
  21. };
  22. spi@7000c380 {
  23. status = "okay";
  24. spi-max-frequency = <25000000>;
  25. };
  26. pcie-controller@80003000 {
  27. status = "okay";
  28. avdd-pex-supply = <&pci_vdd_reg>;
  29. vdd-pex-supply = <&pci_vdd_reg>;
  30. avdd-pex-pll-supply = <&pci_vdd_reg>;
  31. avdd-plle-supply = <&pci_vdd_reg>;
  32. vddio-pex-clk-supply = <&pci_clk_reg>;
  33. pci@1,0 {
  34. status = "okay";
  35. };
  36. };
  37. usb@c5000000 {
  38. status = "okay";
  39. nvidia,vbus-gpio = <&gpio TEGRA_GPIO(V, 2) GPIO_ACTIVE_HIGH>;
  40. };
  41. sdhci@c8000000 {
  42. status = "okay";
  43. bus-width = <4>;
  44. };
  45. sdhci@c8000600 {
  46. status = "okay";
  47. cd-gpios = <&gpio TEGRA_GPIO(P, 1) GPIO_ACTIVE_LOW>;
  48. wp-gpios = <&gpio TEGRA_GPIO(P, 2) GPIO_ACTIVE_HIGH>;
  49. bus-width = <4>;
  50. };
  51. clocks {
  52. compatible = "simple-bus";
  53. #address-cells = <1>;
  54. #size-cells = <0>;
  55. clk32k_in: clock@0 {
  56. compatible = "fixed-clock";
  57. reg=<0>;
  58. #clock-cells = <0>;
  59. clock-frequency = <32768>;
  60. };
  61. };
  62. regulators {
  63. compatible = "simple-bus";
  64. #address-cells = <1>;
  65. #size-cells = <0>;
  66. hdmi_vdd_reg: regulator@0 {
  67. compatible = "regulator-fixed";
  68. reg = <0>;
  69. regulator-name = "avdd_hdmi";
  70. regulator-min-microvolt = <3300000>;
  71. regulator-max-microvolt = <3300000>;
  72. regulator-always-on;
  73. };
  74. hdmi_pll_reg: regulator@1 {
  75. compatible = "regulator-fixed";
  76. reg = <1>;
  77. regulator-name = "avdd_hdmi_pll";
  78. regulator-min-microvolt = <1800000>;
  79. regulator-max-microvolt = <1800000>;
  80. regulator-always-on;
  81. };
  82. vbus_reg: regulator@2 {
  83. compatible = "regulator-fixed";
  84. reg = <2>;
  85. regulator-name = "usb1_vbus";
  86. regulator-min-microvolt = <5000000>;
  87. regulator-max-microvolt = <5000000>;
  88. enable-active-high;
  89. gpio = <&gpio TEGRA_GPIO(V, 2) GPIO_ACTIVE_HIGH>;
  90. regulator-always-on;
  91. regulator-boot-on;
  92. };
  93. pci_clk_reg: regulator@3 {
  94. compatible = "regulator-fixed";
  95. reg = <3>;
  96. regulator-name = "pci_clk";
  97. regulator-min-microvolt = <3300000>;
  98. regulator-max-microvolt = <3300000>;
  99. regulator-always-on;
  100. };
  101. pci_vdd_reg: regulator@4 {
  102. compatible = "regulator-fixed";
  103. reg = <4>;
  104. regulator-name = "pci_vdd";
  105. regulator-min-microvolt = <1050000>;
  106. regulator-max-microvolt = <1050000>;
  107. regulator-always-on;
  108. };
  109. };
  110. };