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