xref: /openbmc/u-boot/arch/arm/dts/tegra20-trimslice.dts (revision 8d3a25685e4aac7070365a2b3c53c2c81b27930f)
15ab502cbSMasahiro Yamada/dts-v1/;
25ab502cbSMasahiro Yamada
35ab502cbSMasahiro Yamada#include "tegra20.dtsi"
45ab502cbSMasahiro Yamada
55ab502cbSMasahiro Yamada/ {
65ab502cbSMasahiro Yamada	model = "Compulab TrimSlice board";
75ab502cbSMasahiro Yamada	compatible = "compulab,trimslice", "nvidia,tegra20";
85ab502cbSMasahiro Yamada
9c3691392SSimon Glass	chosen {
10c3691392SSimon Glass		stdout-path = &uarta;
11c3691392SSimon Glass	};
12c3691392SSimon Glass
135ab502cbSMasahiro Yamada	aliases {
14002ddbffSStephen Warren		usb0 = "/usb@c5000000";
1567748a73SStephen Warren		mmc0 = "/sdhci@c8000600";
1667748a73SStephen Warren		mmc1 = "/sdhci@c8000000";
17d2f60f93SSimon Glass		spi0 = "/spi@7000c380";
185ab502cbSMasahiro Yamada	};
195ab502cbSMasahiro Yamada
205ab502cbSMasahiro Yamada	memory {
215ab502cbSMasahiro Yamada		reg = <0x00000000 0x40000000>;
225ab502cbSMasahiro Yamada	};
235ab502cbSMasahiro Yamada
245ab502cbSMasahiro Yamada	serial@70006000 {
255ab502cbSMasahiro Yamada		clock-frequency = <216000000>;
265ab502cbSMasahiro Yamada	};
275ab502cbSMasahiro Yamada
285ab502cbSMasahiro Yamada	spi@7000c380 {
295ab502cbSMasahiro Yamada		status = "okay";
305ab502cbSMasahiro Yamada		spi-max-frequency = <25000000>;
315ab502cbSMasahiro Yamada	};
325ab502cbSMasahiro Yamada
337dd8738fSThierry Reding	pcie-controller@80003000 {
347dd8738fSThierry Reding		status = "okay";
357dd8738fSThierry Reding
367dd8738fSThierry Reding		avdd-pex-supply = <&pci_vdd_reg>;
377dd8738fSThierry Reding		vdd-pex-supply = <&pci_vdd_reg>;
387dd8738fSThierry Reding		avdd-pex-pll-supply = <&pci_vdd_reg>;
397dd8738fSThierry Reding		avdd-plle-supply = <&pci_vdd_reg>;
407dd8738fSThierry Reding		vddio-pex-clk-supply = <&pci_clk_reg>;
417dd8738fSThierry Reding
427dd8738fSThierry Reding		pci@1,0 {
437dd8738fSThierry Reding			status = "okay";
447dd8738fSThierry Reding		};
457dd8738fSThierry Reding	};
467dd8738fSThierry Reding
475ab502cbSMasahiro Yamada	usb@c5000000 {
48ee7d755aSSimon Glass		status = "okay";
492b2b50bcSSimon Glass		nvidia,vbus-gpio = <&gpio TEGRA_GPIO(V, 2) GPIO_ACTIVE_HIGH>;
505ab502cbSMasahiro Yamada	};
515ab502cbSMasahiro Yamada
525ab502cbSMasahiro Yamada	sdhci@c8000000 {
535ab502cbSMasahiro Yamada		status = "okay";
545ab502cbSMasahiro Yamada		bus-width = <4>;
555ab502cbSMasahiro Yamada	};
565ab502cbSMasahiro Yamada
575ab502cbSMasahiro Yamada	sdhci@c8000600 {
585ab502cbSMasahiro Yamada		status = "okay";
592b2b50bcSSimon Glass		cd-gpios = <&gpio TEGRA_GPIO(P, 1) GPIO_ACTIVE_LOW>;
602b2b50bcSSimon Glass		wp-gpios = <&gpio TEGRA_GPIO(P, 2) GPIO_ACTIVE_HIGH>;
615ab502cbSMasahiro Yamada		bus-width = <4>;
625ab502cbSMasahiro Yamada	};
637dd8738fSThierry Reding
64ee7d755aSSimon Glass	clocks {
65ee7d755aSSimon Glass		compatible = "simple-bus";
66ee7d755aSSimon Glass		#address-cells = <1>;
67ee7d755aSSimon Glass		#size-cells = <0>;
68ee7d755aSSimon Glass
69ee7d755aSSimon Glass		clk32k_in: clock@0 {
70ee7d755aSSimon Glass			compatible = "fixed-clock";
71ee7d755aSSimon Glass			reg=<0>;
72ee7d755aSSimon Glass			#clock-cells = <0>;
73ee7d755aSSimon Glass			clock-frequency = <32768>;
74ee7d755aSSimon Glass		};
75ee7d755aSSimon Glass	};
76ee7d755aSSimon Glass
777dd8738fSThierry Reding	regulators {
787dd8738fSThierry Reding		compatible = "simple-bus";
797dd8738fSThierry Reding		#address-cells = <1>;
807dd8738fSThierry Reding		#size-cells = <0>;
817dd8738fSThierry Reding
827dd8738fSThierry Reding		hdmi_vdd_reg: regulator@0 {
837dd8738fSThierry Reding			compatible = "regulator-fixed";
847dd8738fSThierry Reding			reg = <0>;
857dd8738fSThierry Reding			regulator-name = "avdd_hdmi";
867dd8738fSThierry Reding			regulator-min-microvolt = <3300000>;
877dd8738fSThierry Reding			regulator-max-microvolt = <3300000>;
887dd8738fSThierry Reding			regulator-always-on;
897dd8738fSThierry Reding		};
907dd8738fSThierry Reding
917dd8738fSThierry Reding		hdmi_pll_reg: regulator@1 {
927dd8738fSThierry Reding			compatible = "regulator-fixed";
937dd8738fSThierry Reding			reg = <1>;
947dd8738fSThierry Reding			regulator-name = "avdd_hdmi_pll";
957dd8738fSThierry Reding			regulator-min-microvolt = <1800000>;
967dd8738fSThierry Reding			regulator-max-microvolt = <1800000>;
977dd8738fSThierry Reding			regulator-always-on;
987dd8738fSThierry Reding		};
997dd8738fSThierry Reding
1007dd8738fSThierry Reding		vbus_reg: regulator@2 {
1017dd8738fSThierry Reding			compatible = "regulator-fixed";
1027dd8738fSThierry Reding			reg = <2>;
1037dd8738fSThierry Reding			regulator-name = "usb1_vbus";
1047dd8738fSThierry Reding			regulator-min-microvolt = <5000000>;
1057dd8738fSThierry Reding			regulator-max-microvolt = <5000000>;
1067dd8738fSThierry Reding			enable-active-high;
1072b2b50bcSSimon Glass			gpio = <&gpio TEGRA_GPIO(V, 2) GPIO_ACTIVE_HIGH>;
1087dd8738fSThierry Reding			regulator-always-on;
1097dd8738fSThierry Reding			regulator-boot-on;
1107dd8738fSThierry Reding		};
1117dd8738fSThierry Reding
1127dd8738fSThierry Reding		pci_clk_reg: regulator@3 {
1137dd8738fSThierry Reding			compatible = "regulator-fixed";
1147dd8738fSThierry Reding			reg = <3>;
1157dd8738fSThierry Reding			regulator-name = "pci_clk";
1167dd8738fSThierry Reding			regulator-min-microvolt = <3300000>;
1177dd8738fSThierry Reding			regulator-max-microvolt = <3300000>;
1187dd8738fSThierry Reding			regulator-always-on;
1197dd8738fSThierry Reding		};
1207dd8738fSThierry Reding
1217dd8738fSThierry Reding		pci_vdd_reg: regulator@4 {
1227dd8738fSThierry Reding			compatible = "regulator-fixed";
1237dd8738fSThierry Reding			reg = <4>;
1247dd8738fSThierry Reding			regulator-name = "pci_vdd";
1257dd8738fSThierry Reding			regulator-min-microvolt = <1050000>;
1267dd8738fSThierry Reding			regulator-max-microvolt = <1050000>;
1277dd8738fSThierry Reding			regulator-always-on;
1287dd8738fSThierry Reding		};
1297dd8738fSThierry Reding	};
1307dd8738fSThierry Reding
1315ab502cbSMasahiro Yamada};
132*f53dcc0eSSimon Glass
133*f53dcc0eSSimon Glass&uarta {
134*f53dcc0eSSimon Glass	status = "okay";
135*f53dcc0eSSimon Glass};
136