diff options
| author | fishsoupisgood <github@madingley.org> | 2019-04-29 01:17:54 +0100 | 
|---|---|---|
| committer | fishsoupisgood <github@madingley.org> | 2019-05-27 03:43:43 +0100 | 
| commit | 3f2546b2ef55b661fd8dd69682b38992225e86f6 (patch) | |
| tree | 65ca85f13617aee1dce474596800950f266a456c /roms/u-boot/arch/arm/dts | |
| download | qemu-master.tar.gz qemu-master.tar.bz2 qemu-master.zip  | |
Diffstat (limited to 'roms/u-boot/arch/arm/dts')
46 files changed, 4820 insertions, 0 deletions
diff --git a/roms/u-boot/arch/arm/dts/.gitignore b/roms/u-boot/arch/arm/dts/.gitignore new file mode 100644 index 00000000..b60ed208 --- /dev/null +++ b/roms/u-boot/arch/arm/dts/.gitignore @@ -0,0 +1 @@ +*.dtb diff --git a/roms/u-boot/arch/arm/dts/Makefile b/roms/u-boot/arch/arm/dts/Makefile new file mode 100644 index 00000000..55546152 --- /dev/null +++ b/roms/u-boot/arch/arm/dts/Makefile @@ -0,0 +1,43 @@ +dtb-$(CONFIG_EXYNOS4) += exynos4210-origen.dtb \ +	exynos4210-universal_c210.dtb \ +	exynos4210-trats.dtb \ +	exynos4412-trats2.dtb + +dtb-$(CONFIG_EXYNOS5) += exynos5250-arndale.dtb \ +	exynos5250-snow.dtb \ +	exynos5250-smdk5250.dtb \ +	exynos5420-smdk5420.dtb +dtb-$(CONFIG_MX6) += imx6q-sabreauto.dtb +dtb-$(CONFIG_TEGRA) += tegra20-harmony.dtb \ +	tegra20-medcom-wide.dtb \ +	tegra20-paz00.dtb \ +	tegra20-plutux.dtb \ +	tegra20-seaboard.dtb \ +	tegra20-tec.dtb \ +	tegra20-trimslice.dtb \ +	tegra20-ventana.dtb \ +	tegra20-whistler.dtb \ +	tegra20-colibri_t20_iris.dtb \ +	tegra30-beaver.dtb \ +	tegra30-cardhu.dtb \ +	tegra30-tec-ng.dtb \ +	tegra114-dalmore.dtb \ +	tegra124-jetson-tk1.dtb \ +	tegra124-venice2.dtb +dtb-$(CONFIG_ZYNQ) += zynq-zc702.dtb \ +	zynq-zc706.dtb \ +	zynq-zed.dtb \ +	zynq-microzed.dtb \ +	zynq-zc770-xm010.dtb \ +	zynq-zc770-xm012.dtb \ +	zynq-zc770-xm013.dtb + +targets += $(dtb-y) + +DTC_FLAGS += -R 4 -p 0x1000 + +PHONY += dtbs +dtbs: $(addprefix $(obj)/, $(dtb-y)) +	@: + +clean-files := *.dtb diff --git a/roms/u-boot/arch/arm/dts/exynos4.dtsi b/roms/u-boot/arch/arm/dts/exynos4.dtsi new file mode 100644 index 00000000..71dc7ebf --- /dev/null +++ b/roms/u-boot/arch/arm/dts/exynos4.dtsi @@ -0,0 +1,138 @@ +/* + * Samsung's Exynos4 SoC common device tree source + * + * Copyright (c) 2014 Samsung Electronics Co., Ltd. + *		http://www.samsung.com + * + * SPDX-License-Identifier:	GPL-2.0+ + */ + +/include/ "skeleton.dtsi" + +/ { +	serial@13800000 { +		compatible = "samsung,exynos4210-uart"; +		reg = <0x13800000 0x3c>; +		id = <0>; +	}; + +	serial@13810000 { +		compatible = "samsung,exynos4210-uart"; +		reg = <0x13810000 0x3c>; +		id = <1>; +	}; + +	serial@13820000 { +		compatible = "samsung,exynos4210-uart"; +		reg = <0x13820000 0x3c>; +		id = <2>; +	}; + +	serial@13830000 { +		compatible = "samsung,exynos4210-uart"; +		reg = <0x13830000 0x3c>; +		id = <3>; +	}; + +	serial@13840000 { +		compatible = "samsung,exynos4210-uart"; +		reg = <0x13840000 0x3c>; +		id = <4>; +	}; + +	i2c@13860000 { +		#address-cells = <1>; +		#size-cells = <0>; +		compatible = "samsung,s3c2440-i2c"; +		interrupts = <0 0 0>; +	}; + +	i2c@13870000 { +		#address-cells = <1>; +		#size-cells = <0>; +		compatible = "samsung,s3c2440-i2c"; +		interrupts = <1 1 0>; +	}; + +	i2c@13880000 { +		#address-cells = <1>; +		#size-cells = <0>; +		compatible = "samsung,s3c2440-i2c"; +		interrupts = <2 2 0>; +	}; + +	i2c@13890000 { +		#address-cells = <1>; +		#size-cells = <0>; +		compatible = "samsung,s3c2440-i2c"; +		interrupts = <3 3 0>; +	}; + +	i2c@138a0000 { +		#address-cells = <1>; +		#size-cells = <0>; +		compatible = "samsung,s3c2440-i2c"; +		interrupts = <4 4 0>; +	}; + +	i2c@138b0000 { +		#address-cells = <1>; +		#size-cells = <0>; +		compatible = "samsung,s3c2440-i2c"; +		interrupts = <5 5 0>; +	}; + +	i2c@138c0000 { +		#address-cells = <1>; +		#size-cells = <0>; +		compatible = "samsung,s3c2440-i2c"; +		interrupts = <6 6 0>; +	}; + +	i2c@138d0000 { +		#address-cells = <1>; +		#size-cells = <0>; +		compatible = "samsung,s3c2440-i2c"; +		interrupts = <7 7 0>; +	}; + +	sdhci@12510000 { +		#address-cells = <1>; +		#size-cells = <0>; +		compatible = "samsung,exynos-mmc"; +		reg = <0x12510000 0x1000>; +		interrupts = <0 75 0>; +	}; + +	sdhci@12520000 { +		#address-cells = <1>; +		#size-cells = <0>; +		compatible = "samsung,exynos-mmc"; +		reg = <0x12520000 0x1000>; +		interrupts = <0 76 0>; +	}; + +	sdhci@12530000 { +		#address-cells = <1>; +		#size-cells = <0>; +		compatible = "samsung,exynos-mmc"; +		reg = <0x12530000 0x1000>; +		interrupts = <0 77 0>; +	}; + +	sdhci@12540000 { +		#address-cells = <1>; +		#size-cells = <0>; +		compatible = "samsung,exynos-mmc"; +		reg = <0x12540000 0x1000>; +		interrupts = <0 78 0>; +	}; + +	gpio: gpio { +		gpio-controller; +		#gpio-cells = <2>; + +		interrupt-controller; +		#interrupt-cells = <2>; +	}; +}; diff --git a/roms/u-boot/arch/arm/dts/exynos4210-origen.dts b/roms/u-boot/arch/arm/dts/exynos4210-origen.dts new file mode 100644 index 00000000..5c9d2aed --- /dev/null +++ b/roms/u-boot/arch/arm/dts/exynos4210-origen.dts @@ -0,0 +1,45 @@ +/* + * Samsung's Exynos4210 based Origen board device tree source + * + * Copyright (c) 2014 Samsung Electronics Co., Ltd. + *		http://www.samsung.com + * + * SPDX-License-Identifier:	GPL-2.0+ + */ + +/dts-v1/; +/include/ "skeleton.dtsi" +/include/ "exynos4.dtsi" + +/ { +	model = "Insignal Origen evaluation board based on Exynos4210"; +	compatible = "insignal,origen", "samsung,exynos4210"; + +	chosen { +		bootargs =""; +	}; + +	aliases { +		serial0 = "/serial@13800000"; +		console = "/serial@13820000"; +		mmc2 = "sdhci@12530000"; +	}; + +	sdhci@12510000 { +		status = "disabled"; +	}; + +	sdhci@12520000 { +		status = "disabled"; +	}; + +	sdhci@12530000 { +		samsung,bus-width = <4>; +		samsung,timing = <1 2 3>; +		cd-gpios = <&gpio 0x2008002 0>; +	}; + +	sdhci@12540000 { +		status = "disabled"; +	}; +};
\ No newline at end of file diff --git a/roms/u-boot/arch/arm/dts/exynos4210-trats.dts b/roms/u-boot/arch/arm/dts/exynos4210-trats.dts new file mode 100644 index 00000000..992e0234 --- /dev/null +++ b/roms/u-boot/arch/arm/dts/exynos4210-trats.dts @@ -0,0 +1,120 @@ +/* + * Samsung's Exynos4210 based Trats board device tree source + * + * Copyright (c) 2014 Samsung Electronics Co., Ltd. + *		http://www.samsung.com + * + * SPDX-License-Identifier:	GPL-2.0+ + */ + +/dts-v1/; +/include/ "exynos4.dtsi" + +/ { +	model = "Samsung Trats based on Exynos4210"; +	compatible = "samsung,trats", "samsung,exynos4210"; + +	config { +		samsung,dsim-device-name = "s6e8ax0"; +	}; + +	aliases { +		i2c0 = "/i2c@13860000"; +		i2c1 = "/i2c@13870000"; +		i2c2 = "/i2c@13880000"; +		i2c3 = "/i2c@13890000"; +		i2c4 = "/i2c@138a0000"; +		i2c5 = "/i2c@138b0000"; +		i2c6 = "/i2c@138c0000"; +		i2c7 = "/i2c@138d0000"; +		serial0 = "/serial@13800000"; +		console = "/serial@13820000"; +		mmc0 = "sdhci@12510000"; +		mmc2 = "sdhci@12530000"; +	}; + +	fimd@11c00000 { +		compatible = "samsung,exynos-fimd"; +		reg = <0x11c00000 0xa4>; + +		samsung,vl-freq = <60>; +		samsung,vl-col = <720>; +		samsung,vl-row = <1280>; +		samsung,vl-width = <720>; +		samsung,vl-height = <1280>; + +		samsung,vl-clkp = <0>; +		samsung,vl-oep = <0>; +		samsung,vl-hsp = <1>; +		samsung,vl-vsp = <1>; +		samsung,vl-dp = <1>; +		samsung,vl-bpix = <4>; + +		samsung,vl-hspw = <5>; +		samsung,vl-hbpd = <10>; +		samsung,vl-hfpd = <10>; +		samsung,vl-vspw = <2>; +		samsung,vl-vbpd = <1>; +		samsung,vl-vfpd = <13>; +		samsung,vl-cmd-allow-len = <0xf>; + +		samsung,winid = <3>; +		samsung,power-on-delay = <30>; +		samsung,interface-mode = <1>; +		samsung,mipi-enabled = <1>; +		samsung,dp-enabled; +		samsung,dual-lcd-enabled; + +		samsung,logo-on = <1>; +		samsung,resolution = <0>; +		samsung,rgb-mode = <0>; +	}; + +	mipidsi@11c80000 { +		compatible = "samsung,exynos-mipi-dsi"; +		reg = <0x11c80000 0x5c>; + +		samsung,dsim-config-e-interface = <1>; +		samsung,dsim-config-e-virtual-ch = <0>; +		samsung,dsim-config-e-pixel-format = <7>; +		samsung,dsim-config-e-burst-mode = <1>; +		samsung,dsim-config-e-no-data-lane = <3>; +		samsung,dsim-config-e-byte-clk = <0>; +		samsung,dsim-config-hfp = <1>; + +		samsung,dsim-config-p = <3>; +		samsung,dsim-config-m = <120>; +		samsung,dsim-config-s = <1>; + +		samsung,dsim-config-pll-stable-time = <500>; +		samsung,dsim-config-esc-clk = <20000000>; +		samsung,dsim-config-stop-holding-cnt = <0x7ff>; +		samsung,dsim-config-bta-timeout = <0xff>; +		samsung,dsim-config-rx-timeout = <0xffff>; + +		samsung,dsim-device-id = <0xffffffff>; +		samsung,dsim-device-bus-id = <0>; + +		samsung,dsim-device-reverse-panel = <1>; +	}; + +	sdhci@12510000 { +		samsung,bus-width = <8>; +		samsung,timing = <1 3 3>; +		pwr-gpios = <&gpio 0x2008002 0>; +	}; + +	sdhci@12520000 { +		status = "disabled"; +	}; + +	sdhci@12530000 { +		samsung,bus-width = <4>; +		samsung,timing = <1 2 3>; +		cd-gpios = <&gpio 0x20c6004 0>; +	}; + +	sdhci@12540000 { +		status = "disabled"; +	}; +};
\ No newline at end of file diff --git a/roms/u-boot/arch/arm/dts/exynos4210-universal_c210.dts b/roms/u-boot/arch/arm/dts/exynos4210-universal_c210.dts new file mode 100644 index 00000000..1cdd981d --- /dev/null +++ b/roms/u-boot/arch/arm/dts/exynos4210-universal_c210.dts @@ -0,0 +1,83 @@ +/* + * Samsung's Exynos4210 based Universal C210 board device tree source + * + * Copyright (c) 2014 Samsung Electronics Co., Ltd. + *		http://www.samsung.com + * + * SPDX-License-Identifier:	GPL-2.0+ + */ + +/dts-v1/; +/include/ "exynos4.dtsi" + +/ { +	model = "Samsung Universal C210 based on Exynos4210 rev0"; +	compatible = "samsung,universal_c210", "samsung,exynos4210"; + +	aliases { +		serial0 = "/serial@13800000"; +		console = "/serial@13820000"; +		mmc0 = "sdhci@12510000"; +		mmc2 = "sdhci@12530000"; +	}; + +	sdhci@12510000 { +		samsung,bus-width = <8>; +		samsung,timing = <1 3 3>; +		pwr-gpios = <&gpio 0x2008002 0>; +	}; + +	sdhci@12520000 { +		status = "disabled"; +	}; + +	sdhci@12530000 { +		samsung,bus-width = <4>; +		samsung,timing = <1 2 3>; +		cd-gpios = <&gpio 0x20c6004 0>; +	}; + +	sdhci@12540000 { +		status = "disabled"; +	}; + +	fimd@11c00000 { +		compatible = "samsung,exynos-fimd"; +		reg = <0x11c00000 0xa4>; + +		samsung,vl-freq = <60>; +		samsung,vl-col = <480>; +		samsung,vl-row = <800>; +		samsung,vl-width = <480>; +		samsung,vl-height = <800>; + +		samsung,vl-clkp = <0>; +		samsung,vl-oep = <0>; +		samsung,vl-hsp = <1>; +		samsung,vl-vsp = <1>; +		samsung,vl-dp = <1>; +		samsung,vl-bpix = <4>; + +		samsung,vl-hspw = <2>; +		samsung,vl-hbpd = <16>; +		samsung,vl-hfpd = <16>; +		samsung,vl-vspw = <2>; +		samsung,vl-vbpd = <8>; +		samsung,vl-vfpd = <8>; +		samsung,vl-cmd-allow-len = <0xf>; + +		samsung,pclk_name = <1>; +		samsung,sclk_div = <1>; + +		samsung,winid = <0>; +		samsung,power-on-delay = <10000>; +		samsung,interface-mode = <1>; +		samsung,mipi-enabled = <0>; +		samsung,dp-enabled; +		samsung,dual-lcd-enabled; + +		samsung,logo-on = <1>; +		samsung,resolution = <0>; +		samsung,rgb-mode = <0>; +	}; +}; diff --git a/roms/u-boot/arch/arm/dts/exynos4412-trats2.dts b/roms/u-boot/arch/arm/dts/exynos4412-trats2.dts new file mode 100644 index 00000000..7d32067f --- /dev/null +++ b/roms/u-boot/arch/arm/dts/exynos4412-trats2.dts @@ -0,0 +1,434 @@ +/* + * Samsung's Exynos4412 based Trats2 board device tree source + * + * Copyright (c) 2014 Samsung Electronics Co., Ltd. + *		http://www.samsung.com + * + * SPDX-License-Identifier:	GPL-2.0+ + */ + +/dts-v1/; +/include/ "exynos4.dtsi" + +/ { +	model = "Samsung Trats2 based on Exynos4412"; +	compatible = "samsung,trats2", "samsung,exynos4412"; + +	config { +		samsung,dsim-device-name = "s6e8ax0"; +	}; + +	aliases { +		i2c0 = "/i2c@13860000"; +		i2c1 = "/i2c@13870000"; +		i2c2 = "/i2c@13880000"; +		i2c3 = "/i2c@13890000"; +		i2c4 = "/i2c@138a0000"; +		i2c5 = "/i2c@138b0000"; +		i2c6 = "/i2c@138c0000"; +		i2c7 = "/i2c@138d0000"; +		serial0 = "/serial@13800000"; +		console = "/serial@13820000"; +		mmc0 = "sdhci@12510000"; +		mmc2 = "sdhci@12530000"; +	}; + +	i2c@138d0000 { +		samsung,i2c-sda-delay = <100>; +		samsung,i2c-slave-addr = <0x10>; +		samsung,i2c-max-bus-freq = <100000>; +		status = "okay"; + +		max77686_pmic@09 { +			compatible = "maxim,max77686_pmic"; +			interrupts = <7 0>; +			reg = <0x09 0 0>; +			#clock-cells = <1>; + +			voltage-regulators { +				ldo1_reg: ldo1 { +					regulator-compatible = "LDO1"; +					regulator-name = "VALIVE_1.0V_AP"; +					regulator-min-microvolt = <1000000>; +					regulator-max-microvolt = <1000000>; +					regulator-always-on; +					regulator-mem-on; +				}; + +				ldo2_reg: ldo2 { +					regulator-compatible = "LDO2"; +					regulator-name = "VM1M2_1.2V_AP"; +					regulator-min-microvolt = <1200000>; +					regulator-max-microvolt = <1200000>; +					regulator-always-on; +					regulator-mem-on; +				}; + +				ldo3_reg: ldo3 { +					regulator-compatible = "LDO3"; +					regulator-name = "VCC_1.8V_AP"; +					regulator-min-microvolt = <1800000>; +					regulator-max-microvolt = <1800000>; +					regulator-always-on; +					regulator-mem-on; +				}; + +				ldo4_reg: ldo4 { +					regulator-compatible = "LDO4"; +					regulator-name = "VCC_2.8V_AP"; +					regulator-min-microvolt = <2800000>; +					regulator-max-microvolt = <2800000>; +					regulator-always-on; +					regulator-mem-on; +				}; + +				ldo5_reg: ldo5 { +					regulator-compatible = "LDO5"; +					regulator-name = "VCC_1.8V_IO"; +					regulator-min-microvolt = <1800000>; +					regulator-max-microvolt = <1800000>; +					regulator-always-on; +					regulator-mem-on; +				}; + +				ldo6_reg: ldo6 { +					regulator-compatible = "LDO6"; +					regulator-name = "VMPLL_1.0V_AP"; +					regulator-min-microvolt = <1000000>; +					regulator-max-microvolt = <1000000>; +					regulator-always-on; +					regulator-mem-on; +				}; + +				ldo7_reg: ldo7 { +					regulator-compatible = "LDO7"; +					regulator-name = "VPLL_1.0V_AP"; +					regulator-min-microvolt = <1000000>; +					regulator-max-microvolt = <1000000>; +					regulator-always-on; +					regulator-mem-on; +				}; + +				ldo8_reg: ldo8 { +					regulator-compatible = "LDO8"; +					regulator-name = "VMIPI_1.0V"; +					regulator-min-microvolt = <1000000>; +					regulator-max-microvolt = <1000000>; +					regulator-mem-off; +				}; + +				ldo9_reg: ldo9 { +					regulator-compatible = "LDO9"; +					regulator-name = "CAM_ISP_MIPI_1.2V"; +					regulator-min-microvolt = <1200000>; +					regulator-max-microvolt = <1200000>; +					regulator-mem-idle; +				}; + +				ldo10_reg: ldo10 { +					regulator-compatible = "LDO10"; +					regulator-name = "VMIPI_1.8V"; +					regulator-min-microvolt = <1800000>; +					regulator-max-microvolt = <1800000>; +					regulator-mem-off; +				}; + +				ldo11_reg: ldo11 { +					regulator-compatible = "LDO11"; +					regulator-name = "VABB1_1.95V"; +					regulator-min-microvolt = <1950000>; +					regulator-max-microvolt = <1950000>; +					regulator-always-on; +					regulator-mem-off; +				}; + +				ldo12_reg: ldo12 { +					regulator-compatible = "LDO12"; +					regulator-name = "VUOTG_3.0V"; +					regulator-min-microvolt = <3000000>; +					regulator-max-microvolt = <3000000>; +					regulator-mem-off; +				}; + +				ldo13_reg: ldo13 { +					regulator-compatible = "LDO13"; +					regulator-name = "NFC_AVDD_1.8V"; +					regulator-min-microvolt = <1800000>; +					regulator-max-microvolt = <1800000>; +					regulator-mem-idle; +				}; + +				ldo14_reg: ldo14 { +					regulator-compatible = "LDO14"; +					regulator-name = "VABB2_1.95V"; +					regulator-min-microvolt = <1950000>; +					regulator-max-microvolt = <1950000>; +					regulator-always-on; +					regulator-mem-off; +				}; + +				ldo15_reg: ldo15 { +					regulator-compatible = "LDO15"; +					regulator-name = "VHSIC_1.0V"; +					regulator-min-microvolt = <1000000>; +					regulator-max-microvolt = <1000000>; +					regulator-mem-off; +				}; + +				ldo16_reg: ldo16 { +					regulator-compatible = "LDO16"; +					regulator-name = "VHSIC_1.8V"; +					regulator-min-microvolt = <1800000>; +					regulator-max-microvolt = <1800000>; +					regulator-mem-off; +				}; + +				ldo17_reg: ldo17 { +					regulator-compatible = "LDO17"; +					regulator-name = "CAM_SENSOR_CORE_1.2V"; +					regulator-min-microvolt = <1200000>; +					regulator-max-microvolt = <1200000>; +					regulator-mem-idle; +				}; + +				ldo18_reg: ldo18 { +					regulator-compatible = "LDO18"; +					regulator-name = "CAM_ISP_SEN_IO_1.8V"; +					regulator-min-microvolt = <1800000>; +					regulator-max-microvolt = <1800000>; +					regulator-mem-idle; +				}; + +				ldo19_reg: ldo19 { +					regulator-compatible = "LDO19"; +					regulator-name = "VT_CAM_1.8V"; +					regulator-min-microvolt = <1800000>; +					regulator-max-microvolt = <1800000>; +					regulator-mem-idle; +				}; + +				ldo20_reg: ldo20 { +					regulator-compatible = "LDO20"; +					regulator-name = "VDDQ_PRE_1.8V"; +					regulator-min-microvolt = <1800000>; +					regulator-max-microvolt = <1800000>; +					regulator-mem-idle; +				}; + +				ldo21_reg: ldo21 { +					regulator-compatible = "LDO21"; +					regulator-name = "VTF_2.8V"; +					regulator-min-microvolt = <2800000>; +					regulator-max-microvolt = <2800000>; +					regulator-mem-idle; +				}; + +				ldo22_reg: ldo22 { +					regulator-compatible = "LDO22"; +					regulator-name = "VMEM_VDD_2.8V"; +					regulator-min-microvolt = <2800000>; +					regulator-max-microvolt = <2800000>; +					regulator-always-on; +					regulator-mem-off; +				}; + +				ldo23_reg: ldo23 { +					regulator-compatible = "LDO23"; +					regulator-name = "TSP_AVDD_3.3V"; +					regulator-min-microvolt = <3300000>; +					regulator-max-microvolt = <3300000>; +					regulator-mem-idle; +				}; + +				ldo24_reg: ldo24 { +					regulator-compatible = "LDO24"; +					regulator-name = "TSP_VDD_1.8V"; +					regulator-min-microvolt = <1800000>; +					regulator-max-microvolt = <1800000>; +					regulator-mem-idle; +				}; + +				ldo25_reg: ldo25 { +					regulator-compatible = "LDO25"; +					regulator-name = "LCD_VCC_3.3V"; +					regulator-min-microvolt = <2800000>; +					regulator-max-microvolt = <2800000>; +					regulator-mem-idle; +				}; + +				ldo26_reg: ldo26 { +					regulator-compatible = "LDO26"; +					regulator-name = "MOTOR_VCC_3.0V"; +					regulator-min-microvolt = <3000000>; +					regulator-max-microvolt = <3000000>; +					regulator-mem-idle; +				}; + +				buck1_reg: buck1 { +					regulator-compatible = "BUCK1"; +					regulator-name = "vdd_mif"; +					regulator-min-microvolt = <850000>; +					regulator-max-microvolt = <1100000>; +					regulator-always-on; +					regulator-boot-on; +					regulator-mem-off; +				}; + +				buck2_reg: buck2 { +					regulator-compatible = "BUCK2"; +					regulator-name = "vdd_arm"; +					regulator-min-microvolt = <850000>; +					regulator-max-microvolt = <1500000>; +					regulator-always-on; +					regulator-boot-on; +					regulator-mem-off; +				}; + +				buck3_reg: buck3 { +					regulator-compatible = "BUCK3"; +					regulator-name = "vdd_int"; +					regulator-min-microvolt = <850000>; +					regulator-max-microvolt = <1150000>; +					regulator-always-on; +					regulator-boot-on; +					regulator-mem-off; +				}; + +				buck4_reg: buck4 { +					regulator-compatible = "BUCK4"; +					regulator-name = "vdd_g3d"; +					regulator-min-microvolt = <850000>; +					regulator-max-microvolt = <1150000>; +					regulator-boot-on; +					regulator-mem-off; +				}; + +				buck5_reg: buck5 { +					regulator-compatible = "BUCK5"; +					regulator-name = "VMEM_1.2V_AP"; +					regulator-min-microvolt = <1200000>; +					regulator-max-microvolt = <1200000>; +					regulator-always-on; +				}; + +				buck6_reg: buck6 { +					regulator-compatible = "BUCK6"; +					regulator-name = "VCC_SUB_1.35V"; +					regulator-min-microvolt = <1350000>; +					regulator-max-microvolt = <1350000>; +					regulator-always-on; +				}; + +				buck7_reg: buck7 { +					regulator-compatible = "BUCK7"; +					regulator-name = "VCC_SUB_2.0V"; +					regulator-min-microvolt = <2000000>; +					regulator-max-microvolt = <2000000>; +					regulator-always-on; +				}; + +				buck8_reg: buck8 { +					regulator-compatible = "BUCK8"; +					regulator-name = "VMEM_VDDF_3.0V"; +					regulator-min-microvolt = <2850000>; +					regulator-max-microvolt = <2850000>; +					regulator-always-on; +					regulator-mem-off; +				}; + +				buck9_reg: buck9 { +					regulator-compatible = "BUCK9"; +					regulator-name = "CAM_ISP_CORE_1.2V"; +					regulator-min-microvolt = <1000000>; +					regulator-max-microvolt = <1200000>; +					regulator-mem-off; +				}; +			}; +		}; +	}; + +	fimd@11c00000 { +		compatible = "samsung,exynos-fimd"; +		reg = <0x11c00000 0xa4>; + +		samsung,vl-freq = <60>; +		samsung,vl-col = <720>; +		samsung,vl-row = <1280>; +		samsung,vl-width = <720>; +		samsung,vl-height = <1280>; + +		samsung,vl-clkp = <0>; +		samsung,vl-oep = <0>; +		samsung,vl-hsp = <1>; +		samsung,vl-vsp = <1>; +		samsung,vl-dp = <1>; +		samsung,vl-bpix = <4>; + +		samsung,vl-hspw = <5>; +		samsung,vl-hbpd = <10>; +		samsung,vl-hfpd = <10>; +		samsung,vl-vspw = <2>; +		samsung,vl-vbpd = <1>; +		samsung,vl-vfpd = <13>; +		samsung,vl-cmd-allow-len = <0xf>; + +		samsung,winid = <0>; +		samsung,power-on-delay = <30>; +		samsung,interface-mode = <1>; +		samsung,mipi-enabled = <1>; +		samsung,dp-enabled; +		samsung,dual-lcd-enabled; + +		samsung,logo-on = <1>; +		samsung,resolution = <0>; +		samsung,rgb-mode = <0>; +	}; + +	mipidsi@11c80000 { +		compatible = "samsung,exynos-mipi-dsi"; +		reg = <0x11c80000 0x5c>; + +		samsung,dsim-config-e-interface = <1>; +		samsung,dsim-config-e-virtual-ch = <0>; +		samsung,dsim-config-e-pixel-format = <7>; +		samsung,dsim-config-e-burst-mode = <1>; +		samsung,dsim-config-e-no-data-lane = <3>; +		samsung,dsim-config-e-byte-clk = <0>; +		samsung,dsim-config-hfp = <1>; + +		samsung,dsim-config-p = <3>; +		samsung,dsim-config-m = <120>; +		samsung,dsim-config-s = <1>; + +		samsung,dsim-config-pll-stable-time = <500>; +		samsung,dsim-config-esc-clk = <20000000>; +		samsung,dsim-config-stop-holding-cnt = <0x7ff>; +		samsung,dsim-config-bta-timeout = <0xff>; +		samsung,dsim-config-rx-timeout = <0xffff>; + +		samsung,dsim-device-id = <0xffffffff>; +		samsung,dsim-device-bus-id = <0>; + +		samsung,dsim-device-reverse-panel = <1>; +	}; + +	sdhci@12510000 { +		samsung,bus-width = <8>; +		samsung,timing = <1 3 3>; +		pwr-gpios = <&gpio 0x2004002 0>; +	}; + +	sdhci@12520000 { +		status = "disabled"; +	}; + +	sdhci@12530000 { +		samsung,bus-width = <4>; +		samsung,timing = <1 2 3>; +		cd-gpios = <&gpio 0x20C6004 0>; +	}; + +	sdhci@12540000 { +		status = "disabled"; +	}; +}; diff --git a/roms/u-boot/arch/arm/dts/exynos5.dtsi b/roms/u-boot/arch/arm/dts/exynos5.dtsi new file mode 100644 index 00000000..f8c87411 --- /dev/null +++ b/roms/u-boot/arch/arm/dts/exynos5.dtsi @@ -0,0 +1,198 @@ +/* + * Copyright (c) 2013 The Chromium OS Authors + * SAMSUNG EXYNOS5 SoC device tree source + * + * SPDX-License-Identifier:	GPL-2.0+ + */ + +/include/ "skeleton.dtsi" + +/ { +	compatible = "samsung,exynos5"; + +	sromc@12250000 { +		compatible = "samsung,exynos-sromc"; +		reg = <0x12250000 0x20>; +		#address-cells = <1>; +		#size-cells = <0>; +	}; + +	i2c@12c60000 { +		#address-cells = <1>; +		#size-cells = <0>; +		compatible = "samsung,s3c2440-i2c"; +		reg = <0x12C60000 0x100>; +		interrupts = <0 56 0>; +	}; + +	i2c@12c70000 { +		#address-cells = <1>; +		#size-cells = <0>; +		compatible = "samsung,s3c2440-i2c"; +		reg = <0x12C70000 0x100>; +		interrupts = <0 57 0>; +	}; + +	i2c@12c80000 { +		#address-cells = <1>; +		#size-cells = <0>; +		compatible = "samsung,s3c2440-i2c"; +		reg = <0x12C80000 0x100>; +		interrupts = <0 58 0>; +	}; + +	i2c@12c90000 { +		#address-cells = <1>; +		#size-cells = <0>; +		compatible = "samsung,s3c2440-i2c"; +		reg = <0x12C90000 0x100>; +		interrupts = <0 59 0>; +	}; + +	spi@12d20000 { +		#address-cells = <1>; +		#size-cells = <0>; +		compatible = "samsung,exynos-spi"; +		reg = <0x12d20000 0x30>; +		interrupts = <0 68 0>; +	}; + +	spi@12d30000 { +		#address-cells = <1>; +		#size-cells = <0>; +		compatible = "samsung,exynos-spi"; +		reg = <0x12d30000 0x30>; +		interrupts = <0 69 0>; +	}; + +	spi@12d40000 { +		#address-cells = <1>; +		#size-cells = <0>; +		compatible = "samsung,exynos-spi"; +		reg = <0x12d40000 0x30>; +		clock-frequency = <50000000>; +		interrupts = <0 70 0>; +        }; + +	spi@131a0000 { +		#address-cells = <1>; +		#size-cells = <0>; +		compatible = "samsung,exynos-spi"; +		reg = <0x131a0000 0x30>; +		interrupts = <0 129 0>; +	}; + +	spi@131b0000 { +		#address-cells = <1>; +		#size-cells = <0>; +		compatible = "samsung,exynos-spi"; +		reg = <0x131b0000 0x30>; +		interrupts = <0 130 0>; +	}; + +	ehci@12110000 { +		compatible = "samsung,exynos-ehci"; +		reg = <0x12110000 0x100>; +		#address-cells = <1>; +		#size-cells = <1>; + +		phy { +			compatible = "samsung,exynos-usb-phy"; +			reg = <0x12130000 0x100>; +		}; +	}; + +	tmu@10060000 { +		compatible = "samsung,exynos-tmu"; +		reg = <0x10060000 0x10000>; +	}; + +	fimd@14400000 { +		compatible = "samsung,exynos-fimd"; +		reg = <0x14400000 0x10000>; +		#address-cells = <1>; +		#size-cells = <1>; +	}; + +	dp@145b0000 { +		compatible = "samsung,exynos5-dp"; +		reg = <0x145b0000 0x1000>; +		#address-cells = <1>; +		#size-cells = <1>; +	}; + +	xhci0: xhci@12000000 { +		compatible = "samsung,exynos5250-xhci"; +		reg = <0x12000000 0x10000>; +		#address-cells = <1>; +		#size-cells = <1>; + +		phy { +			compatible = "samsung,exynos5250-usb3-phy"; +			reg = <0x12100000 0x100>; +		}; +	}; + +	mmc@12200000 { +		#address-cells = <1>; +		#size-cells = <0>; +		compatible = "samsung,exynos5250-dwmmc"; +		reg = <0x12200000 0x1000>; +		interrupts = <0 75 0>; +	}; + +	mmc@12210000 { +		#address-cells = <1>; +		#size-cells = <0>; +		compatible = "samsung,exynos5250-dwmmc"; +		reg = <0x12210000 0x1000>; +		interrupts = <0 76 0>; +	}; + +	mmc@12220000 { +		#address-cells = <1>; +		#size-cells = <0>; +		compatible = "samsung,exynos5250-dwmmc"; +		reg = <0x12220000 0x1000>; +		interrupts = <0 77 0>; +	}; + +	mmc@12230000 { +		#address-cells = <1>; +		#size-cells = <0>; +		compatible = "samsung,exynos5250-dwmmc"; +		reg = <0x12230000 0x1000>; +		interrupts = <0 78 0>; +	}; + +	serial@12C00000 { +		compatible = "samsung,exynos4210-uart"; +		reg = <0x12C00000 0x100>; +		interrupts = <0 51 0>; +		id = <0>; +	}; + +	serial@12C10000 { +		compatible = "samsung,exynos4210-uart"; +		reg = <0x12C10000 0x100>; +		interrupts = <0 52 0>; +		id = <1>; +	}; + +	serial@12C20000 { +		compatible = "samsung,exynos4210-uart"; +		reg = <0x12C20000 0x100>; +		interrupts = <0 53 0>; +		id = <2>; +	}; + +	serial@12C30000 { +		compatible = "samsung,exynos4210-uart"; +		reg = <0x12C30000 0x100>; +		interrupts = <0 54 0>; +		id = <3>; +	}; + +	gpio: gpio { +	}; +}; diff --git a/roms/u-boot/arch/arm/dts/exynos5250-arndale.dts b/roms/u-boot/arch/arm/dts/exynos5250-arndale.dts new file mode 100644 index 00000000..202f2ea6 --- /dev/null +++ b/roms/u-boot/arch/arm/dts/exynos5250-arndale.dts @@ -0,0 +1,39 @@ +/* + * SAMSUNG Arndale board device tree source + * + * Copyright (c) 2013 Samsung Electronics Co., Ltd. + *		http://www.samsung.com + * + * SPDX-License-Identifier:	GPL-2.0+ +*/ + +/dts-v1/; +#include "exynos5250.dtsi" + +/ { +	model = "SAMSUNG Arndale board based on EXYNOS5250"; +	compatible = "samsung,arndale", "samsung,exynos5250"; + +	aliases { +		serial0 = "/serial@12C20000"; +		console = "/serial@12C20000"; +	}; + +	mmc@12200000 { +		samsung,bus-width = <8>; +		samsung,timing = <1 3 3>; +	}; + +	mmc@12210000 { +		status = "disabled"; +	}; + +	mmc@12220000 { +		samsung,bus-width = <4>; +		samsung,timing = <1 2 3>; +	}; + +	mmc@12230000 { +		status = "disabled"; +	}; +}; diff --git a/roms/u-boot/arch/arm/dts/exynos5250-smdk5250.dts b/roms/u-boot/arch/arm/dts/exynos5250-smdk5250.dts new file mode 100644 index 00000000..9020382d --- /dev/null +++ b/roms/u-boot/arch/arm/dts/exynos5250-smdk5250.dts @@ -0,0 +1,151 @@ +/* + * SAMSUNG SMDK5250 board device tree source + * + * Copyright (c) 2012 Samsung Electronics Co., Ltd. + *		http://www.samsung.com + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. +*/ + +/dts-v1/; +/include/ "exynos5250.dtsi" + +/ { +	model = "SAMSUNG SMDK5250 board based on EXYNOS5250"; +	compatible = "samsung,smdk5250", "samsung,exynos5250"; + +	aliases { +		i2c0 = "/i2c@12c60000"; +		i2c1 = "/i2c@12c70000"; +		i2c2 = "/i2c@12c80000"; +		i2c3 = "/i2c@12c90000"; +		i2c4 = "/i2c@12ca0000"; +		i2c5 = "/i2c@12cb0000"; +		i2c6 = "/i2c@12cc0000"; +		i2c7 = "/i2c@12cd0000"; +		spi0 = "/spi@12d20000"; +		spi1 = "/spi@12d30000"; +		spi2 = "/spi@12d40000"; +		spi3 = "/spi@131a0000"; +		spi4 = "/spi@131b0000"; +		mmc0 = "/mmc@12200000"; +		mmc1 = "/mmc@12210000"; +		mmc2 = "/mmc@12220000"; +		mmc3 = "/mmc@12230000"; +		serial0 = "/serial@12C30000"; +		console = "/serial@12C30000"; +		i2s = "/sound@3830000"; +	}; + +	sromc@12250000 { +		bank = <1>; +		srom-timing = <1 9 12 1 6 1 1>; +		width = <2>; +		lan@5000000 { +			compatible = "smsc,lan9215", "smsc,lan"; +			reg = <0x5000000 0x100>; +			phy-mode = "mii"; +		}; +	}; + +	sound@3830000 { +		samsung,codec-type = "wm8994"; +	}; + +	sound@12d60000 { +		status = "disabled"; +	}; + +	i2c@12c70000 { +		soundcodec@1a { +			reg = <0x1a>; +			compatible = "wolfson,wm8994-codec"; +		}; +	}; + +	i2c@12c60000 { +		pmic@9 { +			reg = <0x9>; +			compatible = "maxim,max77686_pmic"; +		}; +	}; + +	tmu@10060000 { +		samsung,min-temp	= <25>; +		samsung,max-temp	= <125>; +		samsung,start-warning	= <95>; +		samsung,start-tripping	= <105>; +		samsung,hw-tripping	= <110>; +		samsung,efuse-min-value	= <40>; +		samsung,efuse-value	= <55>; +		samsung,efuse-max-value	= <100>; +		samsung,slope		= <274761730>; +		samsung,dc-value	= <25>; +	}; + +	fimd@14400000 { +		samsung,vl-freq = <60>; +		samsung,vl-col = <2560>; +		samsung,vl-row = <1600>; +		samsung,vl-width = <2560>; +		samsung,vl-height = <1600>; + +		samsung,vl-clkp; +		samsung,vl-dp; +		samsung,vl-bpix = <4>; + +		samsung,vl-hspw = <32>; +		samsung,vl-hbpd = <80>; +		samsung,vl-hfpd = <48>; +		samsung,vl-vspw = <6>; +		samsung,vl-vbpd = <37>; +		samsung,vl-vfpd = <3>; +		samsung,vl-cmd-allow-len = <0xf>; + +		samsung,winid = <3>; +		samsung,interface-mode = <1>; +		samsung,dp-enabled = <1>; +		samsung,dual-lcd-enabled = <0>; +	}; + +	dp@145b0000 { +		samsung,lt-status = <0>; + +		samsung,master-mode = <0>; +		samsung,bist-mode = <0>; +		samsung,bist-pattern = <0>; +		samsung,h-sync-polarity = <0>; +		samsung,v-sync-polarity = <0>; +		samsung,interlaced = <0>; +		samsung,color-space = <0>; +		samsung,dynamic-range = <0>; +		samsung,ycbcr-coeff = <0>; +		samsung,color-depth = <1>; +	}; + +	mmc@12200000 { +		samsung,bus-width = <8>; +		samsung,timing = <1 3 3>; +		samsung,removable = <0>; +	}; + +	mmc@12210000 { +		status = "disabled"; +	}; + +	mmc@12220000 { +		samsung,bus-width = <4>; +		samsung,timing = <1 2 3>; +		samsung,removable = <1>; +	}; + +	mmc@12230000 { +		status = "disabled"; +	}; + +	ehci@12110000 { +		samsung,vbus-gpio = <&gpio 0x316 0>; /* X26 */ +	}; +}; diff --git a/roms/u-boot/arch/arm/dts/exynos5250-snow.dts b/roms/u-boot/arch/arm/dts/exynos5250-snow.dts new file mode 100644 index 00000000..9b48a0cc --- /dev/null +++ b/roms/u-boot/arch/arm/dts/exynos5250-snow.dts @@ -0,0 +1,187 @@ +/* + * SAMSUNG Snow board device tree source + * + * Copyright (c) 2012 Samsung Electronics Co., Ltd. + *		http://www.samsung.com + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. +*/ + +/dts-v1/; +/include/ "exynos5250.dtsi" + +/ { +	model = "Google Snow"; +	compatible = "google,snow", "samsung,exynos5250"; + +	aliases { +		i2c0 = "/i2c@12c60000"; +		i2c1 = "/i2c@12c70000"; +		i2c2 = "/i2c@12c80000"; +		i2c3 = "/i2c@12c90000"; +		i2c4 = "/i2c@12ca0000"; +		i2c5 = "/i2c@12cb0000"; +		i2c6 = "/i2c@12cc0000"; +		i2c7 = "/i2c@12cd0000"; +		spi0 = "/spi@12d20000"; +		spi1 = "/spi@12d30000"; +		spi2 = "/spi@12d40000"; +		spi3 = "/spi@131a0000"; +		spi4 = "/spi@131b0000"; +		mmc0 = "/mmc@12200000"; +		mmc1 = "/mmc@12210000"; +		mmc2 = "/mmc@12220000"; +		mmc3 = "/mmc@12230000"; +		serial0 = "/serial@12C30000"; +		console = "/serial@12C30000"; +		i2s = "/sound@3830000"; +	}; + +	i2c4: i2c@12ca0000 { +		cros-ec@1e { +			reg = <0x1e>; +			compatible = "google,cros-ec"; +			i2c-max-frequency = <100000>; +			ec-interrupt = <&gpio 782 1>; +		}; + +		power-regulator@48 { +			compatible = "ti,tps65090"; +			reg = <0x48>; +		}; +	}; + +	spi@131b0000 { +		spi-max-frequency = <1000000>; +		spi-deactivate-delay = <100>; +		cros-ec@0 { +			reg = <0>; +			compatible = "google,cros-ec"; +			spi-max-frequency = <5000000>; +			ec-interrupt = <&gpio 782 1>; +			optimise-flash-write; +			status = "disabled"; +		}; +	}; + +	sound@3830000 { +		samsung,codec-type = "max98095"; +		codec-enable-gpio = <&gpio 0xb7 0>; +	}; + +	sound@12d60000 { +		status = "disabled"; +	}; + +	i2c@12cd0000 { +		soundcodec@22 { +			reg = <0x22>; +			compatible = "maxim,max98095-codec"; +		}; +	}; + +	i2c@12c60000 { +		pmic@9 { +			reg = <0x9>; +			compatible = "maxim,max77686_pmic"; +		}; +	}; + +	mmc@12200000 { +		samsung,bus-width = <8>; +		samsung,timing = <1 3 3>; +		samsung,removable = <0>; +	}; + +	mmc@12210000 { +		status = "disabled"; +	}; + +	mmc@12220000 { +		samsung,bus-width = <4>; +		samsung,timing = <1 2 3>; +		samsung,removable = <1>; +	}; + +	mmc@12230000 { +		status = "disabled"; +	}; + +	ehci@12110000 { +		samsung,vbus-gpio = <&gpio 0x309 0>; /* X11 */ +	}; + +	xhci@12000000 { +		samsung,vbus-gpio = <&gpio 0x317 0>; /* X27 */ +	}; + +	tmu@10060000 { +		samsung,min-temp	= <25>; +		samsung,max-temp	= <125>; +		samsung,start-warning	= <95>; +		samsung,start-tripping	= <105>; +		samsung,hw-tripping	= <110>; +		samsung,efuse-min-value	= <40>; +		samsung,efuse-value	= <55>; +		samsung,efuse-max-value	= <100>; +		samsung,slope		= <274761730>; +		samsung,dc-value	= <25>; +	}; + +	cros-ec-keyb { +		compatible = "google,cros-ec-keyb"; +		google,key-rows = <8>; +		google,key-columns = <13>; +		google,repeat-delay-ms = <240>; +		google,repeat-rate-ms = <30>; +		google,ghost-filter; +		/* +		 * Keymap entries take the form of 0xRRCCKKKK where +		 * RR=Row CC=Column KKKK=Key Code +		 * The values below are for a US keyboard layout and +		 * are taken from the Linux driver. Note that the +		 * 102ND key is not used for US keyboards. +		 */ +		linux,keymap = < +			/* CAPSLCK F1         B          F10     */ +			0x0001003a 0x0002003b 0x00030030 0x00040044 +			/* N       =          R_ALT      ESC     */ +			0x00060031 0x0008000d 0x000a0064 0x01010001 +			/* F4      G          F7         H       */ +			0x0102003e 0x01030022 0x01040041 0x01060023 +			/* '       F9         BKSPACE    L_CTRL  */ +			0x01080028 0x01090043 0x010b000e 0x0200001d +			/* TAB     F3         T          F6      */ +			0x0201000f 0x0202003d 0x02030014 0x02040040 +			/* ]       Y          102ND      [       */ +			0x0205001b 0x02060015 0x02070056 0x0208001a +			/* F8      GRAVE      F2         5       */ +			0x02090042 0x03010029 0x0302003c 0x03030006 +			/* F5      6          -          \       */ +			0x0304003f 0x03060007 0x0308000c 0x030b002b +			/* R_CTRL  A          D          F       */ +			0x04000061 0x0401001e 0x04020020 0x04030021 +			/* S       K          J          ;       */ +			0x0404001f 0x04050025 0x04060024 0x04080027 +			/* L       ENTER      Z          C       */ +			0x04090026 0x040b001c 0x0501002c 0x0502002e +			/* V       X          ,          M       */ +			0x0503002f 0x0504002d 0x05050033 0x05060032 +			/* L_SHIFT /          .          SPACE   */ +			0x0507002a 0x05080035 0x05090034 0x050B0039 +			/* 1       3          4          2       */ +			0x06010002 0x06020004 0x06030005 0x06040003 +			/* 8       7          0          9       */ +			0x06050009 0x06060008 0x0608000b 0x0609000a +			/* L_ALT   DOWN       RIGHT      Q       */ +			0x060a0038 0x060b006c 0x060c006a 0x07010010 +			/* E       R          W          I       */ +			0x07020012 0x07030013 0x07040011 0x07050017 +			/* U       R_SHIFT    P          O       */ +			0x07060016 0x07070036 0x07080019 0x07090018 +			/* UP      LEFT    */ +			0x070b0067 0x070c0069>; +	}; +}; diff --git a/roms/u-boot/arch/arm/dts/exynos5250.dtsi b/roms/u-boot/arch/arm/dts/exynos5250.dtsi new file mode 100644 index 00000000..0c644e7c --- /dev/null +++ b/roms/u-boot/arch/arm/dts/exynos5250.dtsi @@ -0,0 +1,80 @@ +/* + * (C) Copyright 2012 SAMSUNG Electronics + * SAMSUNG EXYNOS5250 SoC device tree source + * + * SPDX-License-Identifier:	GPL-2.0+ + */ + +/include/ "exynos5.dtsi" + +/ { +	i2c@12ca0000 { +		#address-cells = <1>; +		#size-cells = <0>; +		compatible = "samsung,s3c2440-i2c"; +		reg = <0x12CA0000 0x100>; +		interrupts = <0 60 0>; +	}; + +	i2c@12cb0000 { +		#address-cells = <1>; +		#size-cells = <0>; +		compatible = "samsung,s3c2440-i2c"; +		reg = <0x12CB0000 0x100>; +		interrupts = <0 61 0>; +	}; + +	i2c@12cc0000 { +		#address-cells = <1>; +		#size-cells = <0>; +		compatible = "samsung,s3c2440-i2c"; +		reg = <0x12CC0000 0x100>; +		interrupts = <0 62 0>; +	}; + +	i2c@12cd0000 { +		#address-cells = <1>; +		#size-cells = <0>; +		compatible = "samsung,s3c2440-i2c"; +		reg = <0x12CD0000 0x100>; +		interrupts = <0 63 0>; +	}; + +	sound@3830000 { +		compatible = "samsung,exynos-sound"; +		reg = <0x3830000 0x50>; +		samsung,i2s-epll-clock-frequency = <192000000>; +		samsung,i2s-sampling-rate = <48000>; +		samsung,i2s-bits-per-sample = <16>; +		samsung,i2s-channels = <2>; +		samsung,i2s-lr-clk-framesize = <256>; +		samsung,i2s-bit-clk-framesize = <32>; +		samsung,i2s-id = <0>; +	}; + +	sound@12d60000 { +		compatible = "samsung,exynos-sound"; +		reg = <0x12d60000 0x20>; +		samsung,i2s-epll-clock-frequency = <192000000>; +		samsung,i2s-sampling-rate = <48000>; +		samsung,i2s-bits-per-sample = <16>; +		samsung,i2s-channels = <2>; +		samsung,i2s-lr-clk-framesize = <256>; +		samsung,i2s-bit-clk-framesize = <32>; +		samsung,i2s-id = <1>; +	}; + + +	xhci@12000000 { +		compatible = "samsung,exynos5250-xhci"; +		reg = <0x12000000 0x10000>; +		#address-cells = <1>; +		#size-cells = <1>; + +		phy { +			compatible = "samsung,exynos5250-usb3-phy"; +			reg = <0x12100000 0x100>; +		}; +	}; + +}; diff --git a/roms/u-boot/arch/arm/dts/exynos5420-smdk5420.dts b/roms/u-boot/arch/arm/dts/exynos5420-smdk5420.dts new file mode 100644 index 00000000..d7397635 --- /dev/null +++ b/roms/u-boot/arch/arm/dts/exynos5420-smdk5420.dts @@ -0,0 +1,169 @@ +/* + * SAMSUNG SMDK5420 board device tree source + * + * Copyright (c) 2013 Samsung Electronics Co., Ltd. + *		http://www.samsung.com + * + * SPDX-License-Identifier:	GPL-2.0+ + */ + +/dts-v1/; +/include/ "exynos5420.dtsi" + +/ { +	model = "SAMSUNG SMDK5420 board based on EXYNOS5420"; +	compatible = "samsung,smdk5420", "samsung,exynos5"; + +	config { +		hwid = "smdk5420 TEST A-A 9382"; +	}; + +	aliases { +		i2c0 = "/i2c@12c60000"; +		i2c1 = "/i2c@12c70000"; +		i2c2 = "/i2c@12c80000"; +		i2c3 = "/i2c@12c90000"; +		i2c4 = "/i2c@12ca0000"; +		i2c5 = "/i2c@12cb0000"; +		i2c6 = "/i2c@12cc0000"; +		i2c7 = "/i2c@12cd0000"; +		i2c8 = "/i2c@12e00000"; +		i2c9 = "/i2c@12e10000"; +		i2c10 = "/i2c@12e20000"; +		spi0 = "/spi@12d20000"; +		spi1 = "/spi@12d30000"; +		spi2 = "/spi@12d40000"; +		spi3 = "/spi@131a0000"; +		spi4 = "/spi@131b0000"; +		mmc0 = "/mmc@12200000"; +		mmc1 = "/mmc@12210000"; +		mmc2 = "/mmc@12220000"; +		xhci0 = "/xhci@12000000"; +		xhci1 = "/xhci@12400000"; +		serial0 = "/serial@12C30000"; +		console = "/serial@12C30000"; +	}; + +	tmu@10060000 { +		samsung,min-temp	= <25>; +		samsung,max-temp	= <125>; +		samsung,start-warning	= <95>; +		samsung,start-tripping	= <105>; +		samsung,hw-tripping	= <110>; +		samsung,efuse-min-value	= <40>; +		samsung,efuse-value	= <55>; +		samsung,efuse-max-value	= <100>; +		samsung,slope		= <274761730>; +		samsung,dc-value	= <25>; +	}; + +	/* s2mps11 is on i2c bus 4 */ +	i2c@12ca0000 { +		#address-cells = <1>; +		#size-cells = <0>; +		pmic@66 { +			reg = <0x66>; +			compatible = "samsung,s2mps11-pmic"; +		}; +	}; + +	spi@12d20000 { /* spi0 */ +		spi-max-frequency = <50000000>; +		firmware_storage_spi: flash@0 { +			reg = <0>; +		}; +	}; + +	fimd@14400000 { +		samsung,vl-freq = <60>; +		samsung,vl-col = <2560>; +		samsung,vl-row = <1600>; +		samsung,vl-width = <2560>; +		samsung,vl-height = <1600>; + +		samsung,vl-clkp; +		samsung,vl-dp; +		samsung,vl-bpix = <4>; + +		samsung,vl-hspw = <32>; +		samsung,vl-hbpd = <80>; +		samsung,vl-hfpd = <48>; +		samsung,vl-vspw = <6>; +		samsung,vl-vbpd = <37>; +		samsung,vl-vfpd = <3>; +		samsung,vl-cmd-allow-len = <0xf>; + +		samsung,winid = <3>; +		samsung,interface-mode = <1>; +		samsung,dp-enabled = <1>; +		samsung,dual-lcd-enabled = <0>; +	}; + +	sound@3830000 { +		samsung,codec-type = "wm8994"; +	}; + +	i2c@12c70000 { +		soundcodec@1a { +			reg = <0x1a>; +			compatible = "wolfson,wm8994-codec"; +		}; +	}; + +	mmc@12200000 { +		samsung,bus-width = <8>; +		samsung,timing = <1 3 3>; +		samsung,removable = <0>; +		samsung,pre-init; +	}; + +	mmc@12210000 { +		status = "disabled"; +	}; + +	mmc@12220000 { +		samsung,bus-width = <4>; +		samsung,timing = <1 2 3>; +		samsung,removable = <1>; +	}; + +	mmc@12230000 { +		status = "disabled"; +	}; + +	fimd@14400000 { +		/* sysmmu is not used in U-Boot */ +		samsung,disable-sysmmu; +	}; + +	dp@145b0000 { +		samsung,lt-status = <0>; + +		samsung,master-mode = <0>; +		samsung,bist-mode = <0>; +		samsung,bist-pattern = <0>; +		samsung,h-sync-polarity = <0>; +		samsung,v-sync-polarity = <0>; +		samsung,interlaced = <0>; +		samsung,color-space = <0>; +		samsung,dynamic-range = <0>; +		samsung,ycbcr-coeff = <0>; +		samsung,color-depth = <1>; +	}; + +	dmc { +		mem-type = "ddr3"; +	}; + +	xhci1: xhci@12400000 { +		compatible = "samsung,exynos5250-xhci"; +		reg = <0x12400000 0x10000>; +		#address-cells = <1>; +		#size-cells = <1>; + +		phy { +			compatible = "samsung,exynos5250-usb3-phy"; +			reg = <0x12500000 0x100>; +		}; +	}; +}; diff --git a/roms/u-boot/arch/arm/dts/exynos5420.dtsi b/roms/u-boot/arch/arm/dts/exynos5420.dtsi new file mode 100644 index 00000000..02ead61a --- /dev/null +++ b/roms/u-boot/arch/arm/dts/exynos5420.dtsi @@ -0,0 +1,70 @@ +/* + * (C) Copyright 2013 SAMSUNG Electronics + * SAMSUNG EXYNOS5420 SoC device tree source + * + * SPDX-License-Identifier:	GPL-2.0+ + */ + +/include/ "exynos5.dtsi" + +/ { +	config { +		machine-arch-id = <4151>; +	}; + +	i2c@12ca0000 { +		#address-cells = <1>; +		#size-cells = <0>; +		compatible = "samsung,exynos5-hsi2c"; +		reg = <0x12CA0000 0x100>; +		interrupts = <0 60 0>; +	}; + +	i2c@12cb0000 { +		#address-cells = <1>; +		#size-cells = <0>; +		compatible = "samsung,exynos5-hsi2c"; +		reg = <0x12CB0000 0x100>; +		interrupts = <0 61 0>; +	}; + +	i2c@12cc0000 { +		#address-cells = <1>; +		#size-cells = <0>; +		compatible = "samsung,exynos5-hsi2c"; +		reg = <0x12CC0000 0x100>; +		interrupts = <0 62 0>; +	}; + +	i2c@12cd0000 { +		#address-cells = <1>; +		#size-cells = <0>; +		compatible = "samsung,exynos5-hsi2c"; +		reg = <0x12CD0000 0x100>; +		interrupts = <0 63 0>; +	}; + +	i2c@12e00000 { +		#address-cells = <1>; +		#size-cells = <0>; +		compatible = "samsung,exynos5-hsi2c"; +		reg = <0x12E00000 0x100>; +		interrupts = <0 87 0>; +	}; + +	i2c@12e10000 { +		#address-cells = <1>; +		#size-cells = <0>; +		compatible = "samsung,exynos5-hsi2c"; +		reg = <0x12E10000 0x100>; +		interrupts = <0 88 0>; +	}; + +	i2c@12e20000 { +		#address-cells = <1>; +		#size-cells = <0>; +		compatible = "samsung,exynos5-hsi2c"; +		reg = <0x12E20000 0x100>; +		interrupts = <0 203 0>; +	}; +}; diff --git a/roms/u-boot/arch/arm/dts/imx6q-sabreauto.dts b/roms/u-boot/arch/arm/dts/imx6q-sabreauto.dts new file mode 100644 index 00000000..a3c9c91f --- /dev/null +++ b/roms/u-boot/arch/arm/dts/imx6q-sabreauto.dts @@ -0,0 +1,13 @@ +/* +    + * Copyright 2012 Freescale Semiconductor, Inc. +    + * Copyright 2011 Linaro Ltd. +    + * +    + * SPDX-License-Identifier:     GPL-2.0+ +    + */ + +/dts-v1/; + +/ { +	model = "Freescale i.MX6 Quad SABRE Automotive Board"; +	compatible = "fsl,imx6q-sabreauto", "fsl,imx6q"; +}; diff --git a/roms/u-boot/arch/arm/dts/skeleton.dtsi b/roms/u-boot/arch/arm/dts/skeleton.dtsi new file mode 100644 index 00000000..b41d241d --- /dev/null +++ b/roms/u-boot/arch/arm/dts/skeleton.dtsi @@ -0,0 +1,13 @@ +/* + * Skeleton device tree; the bare minimum needed to boot; just include and + * add a compatible value.  The bootloader will typically populate the memory + * node. + */ + +/ { +	#address-cells = <1>; +	#size-cells = <1>; +	chosen { }; +	aliases { }; +	memory { device_type = "memory"; reg = <0 0>; }; +}; diff --git a/roms/u-boot/arch/arm/dts/tegra114-dalmore.dts b/roms/u-boot/arch/arm/dts/tegra114-dalmore.dts new file mode 100644 index 00000000..435c01e9 --- /dev/null +++ b/roms/u-boot/arch/arm/dts/tegra114-dalmore.dts @@ -0,0 +1,71 @@ +/dts-v1/; + +#include "tegra114.dtsi" + +/ { +	model = "NVIDIA Dalmore"; +	compatible = "nvidia,dalmore", "nvidia,tegra114"; + +	aliases { +		i2c0 = "/i2c@7000d000"; +		i2c1 = "/i2c@7000c000"; +		i2c2 = "/i2c@7000c400"; +		i2c3 = "/i2c@7000c500"; +		i2c4 = "/i2c@7000c700"; +		sdhci0 = "/sdhci@78000600"; +		sdhci1 = "/sdhci@78000400"; +		usb0 = "/usb@7d008000"; +	}; + +	memory { +		device_type = "memory"; +		reg = <0x80000000 0x80000000>; +	}; + +	i2c@7000c000 { +		status = "okay"; +		clock-frequency = <100000>; +	}; + +	i2c@7000c400 { +		status = "okay"; +		clock-frequency = <100000>; +	}; + +	i2c@7000c500 { +		status = "okay"; +		clock-frequency = <100000>; +	}; + +	i2c@7000c700 { +		status = "okay"; +		clock-frequency = <100000>; +	}; + +	i2c@7000d000 { +		status = "okay"; +		clock-frequency = <400000>; +	}; + +	spi@7000da00 { +		status = "okay"; +		spi-max-frequency = <25000000>; +	}; + +	sdhci@78000400 { +		cd-gpios = <&gpio 170 1>; /* gpio PV2 */ +		bus-width = <4>; +		status = "okay"; +	}; + +	sdhci@78000600 { +		bus-width = <8>; +		status = "okay"; +	}; + +	usb@7d008000 { +		/* SPDIF_IN: USB_VBUS_EN1 */ +		nvidia,vbus-gpio = <&gpio 86 0>; +		status = "okay"; +	}; +}; diff --git a/roms/u-boot/arch/arm/dts/tegra114.dtsi b/roms/u-boot/arch/arm/dts/tegra114.dtsi new file mode 100644 index 00000000..f52fcf14 --- /dev/null +++ b/roms/u-boot/arch/arm/dts/tegra114.dtsi @@ -0,0 +1,246 @@ +#include "skeleton.dtsi" + +/ { +	compatible = "nvidia,tegra114"; + +	tegra_car: clock { +		compatible = "nvidia,tegra114-car"; +		reg = <0x60006000 0x1000>; +		#clock-cells = <1>; +	}; + +	apbdma: dma { +		compatible = "nvidia,tegra114-apbdma", "nvidia,tegra30-apbdma", "nvidia,tegra20-apbdma"; +		reg = <0x6000a000 0x1400>; +		interrupts = <0 104 0x04 +			      0 105 0x04 +			      0 106 0x04 +			      0 107 0x04 +			      0 108 0x04 +			      0 109 0x04 +			      0 110 0x04 +			      0 111 0x04 +			      0 112 0x04 +			      0 113 0x04 +			      0 114 0x04 +			      0 115 0x04 +			      0 116 0x04 +			      0 117 0x04 +			      0 118 0x04 +			      0 119 0x04 +			      0 128 0x04 +			      0 129 0x04 +			      0 130 0x04 +			      0 131 0x04 +			      0 132 0x04 +			      0 133 0x04 +			      0 134 0x04 +			      0 135 0x04 +			      0 136 0x04 +			      0 137 0x04 +			      0 138 0x04 +			      0 139 0x04 +			      0 140 0x04 +			      0 141 0x04 +			      0 142 0x04 +			      0 143 0x04>; +	}; + +	gpio: gpio { +		compatible = "nvidia,tegra114-gpio", "nvidia,tegra30-gpio"; +		reg = <0x6000d000 0x1000>; +		interrupts = <0 32 0x04 +			      0 33 0x04 +			      0 34 0x04 +			      0 35 0x04 +			      0 55 0x04 +			      0 87 0x04 +			      0 89 0x04 +			      0 125 0x04>; +		#gpio-cells = <2>; +		gpio-controller; +		#interrupt-cells = <2>; +		interrupt-controller; +	}; + +	i2c@7000c000 { +		compatible = "nvidia,tegra114-i2c"; +		reg = <0x7000c000 0x100>; +		interrupts = <0 38 0x04>; +		#address-cells = <1>; +		#size-cells = <0>; +		clocks = <&tegra_car 12>; +		status = "disabled"; +	}; + +	i2c@7000c400 { +		compatible = "nvidia,tegra114-i2c"; +		reg = <0x7000c400 0x100>; +		interrupts = <0 84 0x04>; +		#address-cells = <1>; +		#size-cells = <0>; +		clocks = <&tegra_car 54>; +		status = "disabled"; +	}; + +	i2c@7000c500 { +		compatible = "nvidia,tegra114-i2c"; +		reg = <0x7000c500 0x100>; +		interrupts = <0 92 0x04>; +		#address-cells = <1>; +		#size-cells = <0>; +		clocks = <&tegra_car 67>; +		status = "disabled"; +	}; + +	i2c@7000c700 { +		compatible = "nvidia,tegra114-i2c"; +		reg = <0x7000c700 0x100>; +		interrupts = <0 120 0x04>; +		#address-cells = <1>; +		#size-cells = <0>; +		clocks = <&tegra_car 103>; +		status = "disabled"; +	}; + +	i2c@7000d000 { +		compatible = "nvidia,tegra114-i2c"; +		reg = <0x7000d000 0x100>; +		interrupts = <0 53 0x04>; +		#address-cells = <1>; +		#size-cells = <0>; +		clocks = <&tegra_car 47>; +		status = "disabled"; +	}; + +	spi@7000d400 { +		compatible = "nvidia,tegra114-spi"; +		reg = <0x7000d400 0x200>; +		interrupts = <0 59 0x04>; +		nvidia,dma-request-selector = <&apbdma 15>; +		#address-cells = <1>; +		#size-cells = <0>; +		status = "disabled"; +		/* PERIPH_ID_SBC1, PLLP_OUT0 */ +		clocks = <&tegra_car 41>; +	}; + +	spi@7000d600 { +		compatible = "nvidia,tegra114-spi"; +		reg = <0x7000d600 0x200>; +		interrupts = <0 82 0x04>; +		nvidia,dma-request-selector = <&apbdma 16>; +		#address-cells = <1>; +		#size-cells = <0>; +		status = "disabled"; +		/* PERIPH_ID_SBC2, PLLP_OUT0 */ +		clocks = <&tegra_car 44>; +	}; + +	spi@7000d800 { +		compatible = "nvidia,tegra114-spi"; +		reg = <0x7000d800 0x200>; +		interrupts = <0 83 0x04>; +		nvidia,dma-request-selector = <&apbdma 17>; +		#address-cells = <1>; +		#size-cells = <0>; +		status = "disabled"; +		/* PERIPH_ID_SBC3, PLLP_OUT0 */ +		clocks = <&tegra_car 46>; +	}; + +	spi@7000da00 { +		compatible = "nvidia,tegra114-spi"; +		reg = <0x7000da00 0x200>; +		interrupts = <0 93 0x04>; +		nvidia,dma-request-selector = <&apbdma 18>; +		#address-cells = <1>; +		#size-cells = <0>; +		status = "disabled"; +		/* PERIPH_ID_SBC4, PLLP_OUT0 */ +		clocks = <&tegra_car 68>; +	}; + +	spi@7000dc00 { +		compatible = "nvidia,tegra114-spi"; +		reg = <0x7000dc00 0x200>; +		interrupts = <0 94 0x04>; +		nvidia,dma-request-selector = <&apbdma 27>; +		#address-cells = <1>; +		#size-cells = <0>; +		status = "disabled"; +		/* PERIPH_ID_SBC5, PLLP_OUT0 */ +		clocks = <&tegra_car 104>; +	}; + +	spi@7000de00 { +		compatible = "nvidia,tegra114-spi"; +		reg = <0x7000de00 0x200>; +		interrupts = <0 79 0x04>; +		nvidia,dma-request-selector = <&apbdma 28>; +		#address-cells = <1>; +		#size-cells = <0>; +		status = "disabled"; +		/* PERIPH_ID_SBC6, PLLP_OUT0 */ +		clocks = <&tegra_car 105>; +	}; + +	sdhci@78000000 { +		compatible = "nvidia,tegra114-sdhci", "nvidia,tegra30-sdhci"; +		reg = <0x78000000 0x200>; +		interrupts = <0 14 0x04>; +		clocks = <&tegra_car 14>; +		status = "disable"; +	}; + +	sdhci@78000200 { +		compatible = "nvidia,tegra114-sdhci", "nvidia,tegra30-sdhci"; +		reg = <0x78000200 0x200>; +		interrupts = <0 15 0x04>; +		clocks = <&tegra_car 9>; +		status = "disable"; +	}; + +	sdhci@78000400 { +		compatible = "nvidia,tegra114-sdhci", "nvidia,tegra30-sdhci"; +		reg = <0x78000400 0x200>; +		interrupts = <0 19 0x04>; +		clocks = <&tegra_car 69>; +		status = "disable"; +	}; + +	sdhci@78000600 { +		compatible = "nvidia,tegra114-sdhci", "nvidia,tegra30-sdhci"; +		reg = <0x78000600 0x200>; +		interrupts = <0 31 0x04>; +		clocks = <&tegra_car 15>; +		status = "disable"; +	}; + +	usb@7d000000 { +		compatible = "nvidia,tegra114-ehci"; +		reg = <0x7d000000 0x4000>; +		interrupts = <52>; +		phy_type = "utmi"; +		clocks = <&tegra_car 22>;	/* PERIPH_ID_USBD */ +		status = "disabled"; +	}; + +	usb@7d004000 { +		compatible = "nvidia,tegra114-ehci"; +		reg = <0x7d004000 0x4000>; +		interrupts = <53>; +		phy_type = "hsic"; +		clocks = <&tegra_car 58>;	/* PERIPH_ID_USB2 */ +		status = "disabled"; +	}; + +	usb@7d008000 { +		compatible = "nvidia,tegra114-ehci"; +		reg = <0x7d008000 0x4000>; +		interrupts = <129>; +		phy_type = "utmi"; +		clocks = <&tegra_car 59>;	/* PERIPH_ID_USB3 */ +		status = "disabled"; +	}; +}; diff --git a/roms/u-boot/arch/arm/dts/tegra124-jetson-tk1.dts b/roms/u-boot/arch/arm/dts/tegra124-jetson-tk1.dts new file mode 100644 index 00000000..52e8c0e5 --- /dev/null +++ b/roms/u-boot/arch/arm/dts/tegra124-jetson-tk1.dts @@ -0,0 +1,84 @@ +/dts-v1/; + +#include "tegra124.dtsi" + +/ { +	model = "NVIDIA Jetson TK1"; +	compatible = "nvidia,jetson-tk1", "nvidia,tegra124"; + +	aliases { +		i2c0 = "/i2c@7000d000"; +		i2c1 = "/i2c@7000c000"; +		i2c2 = "/i2c@7000c400"; +		i2c3 = "/i2c@7000c500"; +		i2c4 = "/i2c@7000c700"; +		i2c5 = "/i2c@7000d100"; +		sdhci0 = "/sdhci@700b0600"; +		sdhci1 = "/sdhci@700b0400"; +		spi0 = "/spi@7000d400"; +		spi1 = "/spi@7000da00"; +		usb0 = "/usb@7d008000"; +	}; + +	memory { +		device_type = "memory"; +		reg = <0x80000000 0x80000000>; +	}; + +	i2c@7000c000 { +		status = "okay"; +		clock-frequency = <100000>; +	}; + +	i2c@7000c400 { +		status = "okay"; +		clock-frequency = <100000>; +	}; + +	i2c@7000c500 { +		status = "okay"; +		clock-frequency = <100000>; +	}; + +	i2c@7000c700 { +		status = "okay"; +		clock-frequency = <100000>; +	}; + +	i2c@7000d000 { +		status = "okay"; +		clock-frequency = <400000>; +	}; + +	i2c@7000d100 { +		status = "okay"; +		clock-frequency = <400000>; +	}; + +	spi@7000d400 { +		status = "okay"; +		spi-max-frequency = <25000000>; +	}; + +	spi@7000da00 { +		status = "okay"; +		spi-max-frequency = <25000000>; +	}; + +	sdhci@700b0400 { +		status = "okay"; +		cd-gpios = <&gpio 170 1>; /* gpio PV2 */ +		power-gpios = <&gpio 136 0>; /* gpio PR0 */ +		bus-width = <4>; +	}; + +	sdhci@700b0600 { +		status = "okay"; +		bus-width = <8>; +	}; + +	usb@7d008000 { +		status = "okay"; +		nvidia,vbus-gpio = <&gpio 109 0>; /* gpio PN5, USB_VBUS_EN1 */ +	}; +}; diff --git a/roms/u-boot/arch/arm/dts/tegra124-venice2.dts b/roms/u-boot/arch/arm/dts/tegra124-venice2.dts new file mode 100644 index 00000000..2f8d1dcc --- /dev/null +++ b/roms/u-boot/arch/arm/dts/tegra124-venice2.dts @@ -0,0 +1,84 @@ +/dts-v1/; + +#include "tegra124.dtsi" + +/ { +	model = "NVIDIA Venice2"; +	compatible = "nvidia,venice2", "nvidia,tegra124"; + +	aliases { +		i2c0 = "/i2c@7000d000"; +		i2c1 = "/i2c@7000c000"; +		i2c2 = "/i2c@7000c400"; +		i2c3 = "/i2c@7000c500"; +		i2c4 = "/i2c@7000c700"; +		i2c5 = "/i2c@7000d100"; +		sdhci0 = "/sdhci@700b0600"; +		sdhci1 = "/sdhci@700b0400"; +		spi0 = "/spi@7000d400"; +		spi1 = "/spi@7000da00"; +		usb0 = "/usb@7d008000"; +	}; + +	memory { +		device_type = "memory"; +		reg = <0x80000000 0x80000000>; +	}; + +	i2c@7000c000 { +		status = "okay"; +		clock-frequency = <100000>; +	}; + +	i2c@7000c400 { +		status = "okay"; +		clock-frequency = <100000>; +	}; + +	i2c@7000c500 { +		status = "okay"; +		clock-frequency = <100000>; +	}; + +	i2c@7000c700 { +		status = "okay"; +		clock-frequency = <100000>; +	}; + +	i2c@7000d000 { +		status = "okay"; +		clock-frequency = <400000>; +	}; + +	i2c@7000d100 { +		status = "okay"; +		clock-frequency = <400000>; +	}; + +	spi@7000d400 { +		status = "okay"; +		spi-max-frequency = <25000000>; +	}; + +	spi@7000da00 { +		status = "okay"; +		spi-max-frequency = <25000000>; +	}; + +	sdhci@700b0400 { +		status = "okay"; +		cd-gpios = <&gpio 170 0>; /* gpio PV2 */ +		power-gpios = <&gpio 136 0>; /* gpio PR0 */ +		bus-width = <4>; +	}; + +	sdhci@700b0600 { +		status = "okay"; +		bus-width = <8>; +	}; + +	usb@7d008000 { +		status = "okay"; +		nvidia,vbus-gpio = <&gpio 109 0>; /* gpio PN5, USB_VBUS_EN1 */ +	}; +}; diff --git a/roms/u-boot/arch/arm/dts/tegra124.dtsi b/roms/u-boot/arch/arm/dts/tegra124.dtsi new file mode 100644 index 00000000..18a8b24b --- /dev/null +++ b/roms/u-boot/arch/arm/dts/tegra124.dtsi @@ -0,0 +1,250 @@ +#include "skeleton.dtsi" + +/ { +	compatible = "nvidia,tegra124"; + +	tegra_car: clock@60006000 { +		compatible = "nvidia,tegra124-car"; +		reg = <0x60006000 0x1000>; +		#clock-cells = <1>; +	}; + +	apbdma: dma@60020000 { +		compatible = "nvidia,tegra124-apbdma", "nvidia,tegra148-apbdma"; +		reg = <0x60020000 0x1400>; +		interrupts = <0 104 0x04 +			      0 105 0x04 +			      0 106 0x04 +			      0 107 0x04 +			      0 108 0x04 +			      0 109 0x04 +			      0 110 0x04 +			      0 111 0x04 +			      0 112 0x04 +			      0 113 0x04 +			      0 114 0x04 +			      0 115 0x04 +			      0 116 0x04 +			      0 117 0x04 +			      0 118 0x04 +			      0 119 0x04 +			      0 128 0x04 +			      0 129 0x04 +			      0 130 0x04 +			      0 131 0x04 +			      0 132 0x04 +			      0 133 0x04 +			      0 134 0x04 +			      0 135 0x04 +			      0 136 0x04 +			      0 137 0x04 +			      0 138 0x04 +			      0 139 0x04 +			      0 140 0x04 +			      0 141 0x04 +			      0 142 0x04 +			      0 143 0x04>; +	}; + +	gpio: gpio@6000d000 { +		compatible = "nvidia,tegra124-gpio", "nvidia,tegra30-gpio"; +		reg = <0x6000d000 0x1000>; +		interrupts = <0 32 0x04 +			      0 33 0x04 +			      0 34 0x04 +			      0 35 0x04 +			      0 55 0x04 +			      0 87 0x04 +			      0 89 0x04 +			      0 125 0x04>; +		#gpio-cells = <2>; +		gpio-controller; +		#interrupt-cells = <2>; +		interrupt-controller; +	}; + +	i2c@7000c000 { +		compatible = "nvidia,tegra124-i2c", "nvidia,tegra114-i2c"; +		reg = <0x7000c000 0x100>; +		interrupts = <0 38 0x04>; +		#address-cells = <1>; +		#size-cells = <0>; +		clocks = <&tegra_car 12>; +		status = "disabled"; +	}; + +	i2c@7000c400 { +		compatible = "nvidia,tegra124-i2c", "nvidia,tegra114-i2c"; +		reg = <0x7000c400 0x100>; +		interrupts = <0 84 0x04>; +		#address-cells = <1>; +		#size-cells = <0>; +		clocks = <&tegra_car 54>; +		status = "disabled"; +	}; + +	i2c@7000c500 { +		compatible = "nvidia,tegra124-i2c", "nvidia,tegra114-i2c"; +		reg = <0x7000c500 0x100>; +		interrupts = <0 92 0x04>; +		#address-cells = <1>; +		#size-cells = <0>; +		clocks = <&tegra_car 67>; +		status = "disabled"; +	}; + +	i2c@7000c700 { +		compatible = "nvidia,tegra124-i2c", "nvidia,tegra114-i2c"; +		reg = <0x7000c700 0x100>; +		interrupts = <0 120 0x04>; +		#address-cells = <1>; +		#size-cells = <0>; +		clocks = <&tegra_car 103>; +		status = "disabled"; +	}; + +	i2c@7000d000 { +		compatible = "nvidia,tegra124-i2c", "nvidia,tegra114-i2c"; +		reg = <0x7000d000 0x100>; +		interrupts = <0 53 0x04>; +		#address-cells = <1>; +		#size-cells = <0>; +		clocks = <&tegra_car 47>; +		status = "disabled"; +	}; + +	i2c@7000d100 { +		compatible = "nvidia,tegra124-i2c", "nvidia,tegra114-i2c"; +		reg = <0x7000d100 0x100>; +		interrupts = <0 53 0x04>; +		#address-cells = <1>; +		#size-cells = <0>; +		clocks = <&tegra_car 47>; +		status = "disabled"; +	}; + +	spi@7000d400 { +		compatible = "nvidia,tegra124-spi", "nvidia,tegra114-spi"; +		reg = <0x7000d400 0x200>; +		interrupts = <0 59 0x04>; +		nvidia,dma-request-selector = <&apbdma 15>; +		#address-cells = <1>; +		#size-cells = <0>; +		status = "disabled"; +		clocks = <&tegra_car 41>; +	}; + +	spi@7000d600 { +		compatible = "nvidia,tegra124-spi", "nvidia,tegra114-spi"; +		reg = <0x7000d600 0x200>; +		interrupts = <0 82 0x04>; +		nvidia,dma-request-selector = <&apbdma 16>; +		#address-cells = <1>; +		#size-cells = <0>; +		status = "disabled"; +		clocks = <&tegra_car 44>; +	}; + +	spi@7000d800 { +		compatible = "nvidia,tegra124-spi", "nvidia,tegra114-spi"; +		reg = <0x7000d800 0x200>; +		interrupts = <0 83 0x04>; +		nvidia,dma-request-selector = <&apbdma 17>; +		#address-cells = <1>; +		#size-cells = <0>; +		status = "disabled"; +		clocks = <&tegra_car 46>; +	}; + +	spi@7000da00 { +		compatible = "nvidia,tegra124-spi", "nvidia,tegra114-spi"; +		reg = <0x7000da00 0x200>; +		interrupts = <0 93 0x04>; +		nvidia,dma-request-selector = <&apbdma 18>; +		#address-cells = <1>; +		#size-cells = <0>; +		status = "disabled"; +		clocks = <&tegra_car 68>; +	}; + +	spi@7000dc00 { +		compatible = "nvidia,tegra124-spi", "nvidia,tegra114-spi"; +		reg = <0x7000dc00 0x200>; +		interrupts = <0 94 0x04>; +		nvidia,dma-request-selector = <&apbdma 27>; +		#address-cells = <1>; +		#size-cells = <0>; +		status = "disabled"; +		clocks = <&tegra_car 104>; +	}; + +	spi@7000de00 { +		compatible = "nvidia,tegra124-spi", "nvidia,tegra114-spi"; +		reg = <0x7000de00 0x200>; +		interrupts = <0 79 0x04>; +		nvidia,dma-request-selector = <&apbdma 28>; +		#address-cells = <1>; +		#size-cells = <0>; +		status = "disabled"; +		clocks = <&tegra_car 105>; +	}; + +	sdhci@700b0000 { +		compatible = "nvidia,tegra124-sdhci"; +		reg = <0x700b0000 0x200>; +		interrupts = <0 14 0x04>; +		clocks = <&tegra_car 14>; +		status = "disabled"; +	}; + +	sdhci@700b0200 { +		compatible = "nvidia,tegra124-sdhci"; +		reg = <0x700b0200 0x200>; +		interrupts = <0 15 0x04>; +		clocks = <&tegra_car 9>; +		status = "disabled"; +	}; + +	sdhci@700b0400 { +		compatible = "nvidia,tegra124-sdhci"; +		reg = <0x700b0400 0x200>; +		interrupts = <0 19 0x04>; +		clocks = <&tegra_car 69>; +		status = "disabled"; +	}; + +	sdhci@700b0600 { +		compatible = "nvidia,tegra124-sdhci"; +		reg = <0x700b0600 0x200>; +		interrupts = <0 31 0x04>; +		clocks = <&tegra_car 15>; +		status = "disabled"; +	}; + +	usb@7d000000 { +		compatible = "nvidia,tegra124-ehci", "nvidia,tegra30-ehci"; +		reg = <0x7d000000 0x4000>; +		interrupts = < 52 >; +		phy_type = "utmi"; +		clocks = <&tegra_car 22>;	/* PERIPH_ID_USBD */ +		status = "disabled"; +	}; + +	usb@7d004000 { +		compatible = "nvidia,tegra124-ehci", "nvidia,tegra30-ehci"; +		reg = <0x7d004000 0x4000>; +		interrupts = < 53 >; +		phy_type = "hsic"; +		clocks = <&tegra_car 58>;	/* PERIPH_ID_USB2 */ +		status = "disabled"; +	}; + +	usb@7d008000 { +		compatible = "nvidia,tegra124-ehci", "nvidia,tegra30-ehci"; +		reg = <0x7d008000 0x4000>; +		interrupts = < 129 >; +		phy_type = "utmi"; +		clocks = <&tegra_car 59>;	/* PERIPH_ID_USB3 */ +		status = "disabled"; +	}; +}; diff --git a/roms/u-boot/arch/arm/dts/tegra20-colibri_t20_iris.dts b/roms/u-boot/arch/arm/dts/tegra20-colibri_t20_iris.dts new file mode 100644 index 00000000..c0e54af8 --- /dev/null +++ b/roms/u-boot/arch/arm/dts/tegra20-colibri_t20_iris.dts @@ -0,0 +1,45 @@ +/dts-v1/; + +#include "tegra20.dtsi" + +/ { +	model = "Toradex Colibri T20"; +	compatible = "toradex,t20", "nvidia,tegra20"; + +	aliases { +		usb0 = "/usb@c5008000"; +		usb1 = "/usb@c5000000"; +		usb2 = "/usb@c5004000"; +		sdhci0 = "/sdhci@c8000600"; +	}; + +	usb@c5000000 { +		dr_mode = "otg"; +	}; + +	usb@c5004000 { +		nvidia,phy-reset-gpio = <&gpio 169 0>; /* PV1 */ +		nvidia,vbus-gpio = <&gpio 217 0>; /* PBB1 */ +	}; + +	usb@c5008000 { +		nvidia,vbus-gpio = <&gpio 178 1>; /* PW2 low-active */ +	}; + +	nand-controller@70008000 { +		nvidia,wp-gpios = <&gpio 144 0>; /* PS0 */ +		nvidia,width = <8>; +		nvidia,timing = <15 100 25 80 25 10 15 10 100>; + +		nand@0 { +			reg = <0>; +			compatible = "nand-flash"; +		}; +	}; + +	sdhci@c8000600 { +		status = "okay"; +		cd-gpios = <&gpio 23 1>; /* gpio PC7 */ +		bus-width = <4>; +	}; +}; diff --git a/roms/u-boot/arch/arm/dts/tegra20-harmony.dts b/roms/u-boot/arch/arm/dts/tegra20-harmony.dts new file mode 100644 index 00000000..b115f878 --- /dev/null +++ b/roms/u-boot/arch/arm/dts/tegra20-harmony.dts @@ -0,0 +1,105 @@ +/dts-v1/; + +#include "tegra20.dtsi" + +/ { +	model = "NVIDIA Tegra20 Harmony evaluation board"; +	compatible = "nvidia,harmony", "nvidia,tegra20"; + +	aliases { +		usb0 = "/usb@c5008000"; +		usb1 = "/usb@c5004000"; +		sdhci0 = "/sdhci@c8000600"; +		sdhci1 = "/sdhci@c8000200"; +	}; + +	memory { +		reg = <0x00000000 0x40000000>; +	}; + +	host1x { +		status = "okay"; +		dc@54200000 { +			status = "okay"; +			rgb { +				status = "okay"; +				nvidia,panel = <&lcd_panel>; +			}; +		}; +	}; + +	serial@70006300 { +		clock-frequency = < 216000000 >; +	}; + +	nand-controller@70008000 { +		nvidia,wp-gpios = <&gpio 23 0>;		/* PC7 */ +		nvidia,width = <8>; +		nvidia,timing = <26 100 20 80 20 10 12 10 70>; +		nand@0 { +			reg = <0>; +			compatible = "hynix,hy27uf4g2b", "nand-flash"; +		}; +	}; + +	i2c@7000c000 { +		status = "disabled"; +	}; + +	i2c@7000c400 { +		status = "disabled"; +	}; + +	i2c@7000c500 { +		status = "disabled"; +	}; + +	i2c@7000d000 { +		status = "disabled"; +	}; + +	usb@c5000000 { +		status = "disabled"; +	}; + +	usb@c5004000 { +		nvidia,phy-reset-gpio = <&gpio 169 0>; /* gpio PV1 */ +	}; + +	sdhci@c8000200 { +		status = "okay"; +		cd-gpios = <&gpio 69 1>; /* gpio PI5 */ +		wp-gpios = <&gpio 57 0>; /* gpio PH1 */ +		power-gpios = <&gpio 155 0>; /* gpio PT3 */ +		bus-width = <4>; +	}; + +	sdhci@c8000600 { +		status = "okay"; +		cd-gpios = <&gpio 58 1>; /* gpio PH2 */ +		wp-gpios = <&gpio 59 0>; /* gpio PH3 */ +		power-gpios = <&gpio 70 0>; /* gpio PI6 */ +		bus-width = <8>; +	}; + +	lcd_panel: panel { +		clock = <42430000>; +		xres = <1024>; +		yres = <600>; +		left-margin = <138>; +		right-margin = <34>; +		hsync-len = <136>; +		lower-margin = <4>; +		upper-margin = <21>; +		vsync-len = <4>; +		hsync-active-high; +		vsyncx-active-high; +		nvidia,bits-per-pixel = <16>; +		nvidia,pwm = <&pwm 0 0>; +		nvidia,backlight-enable-gpios = <&gpio 13 0>;	/* PB5 */ +		nvidia,lvds-shutdown-gpios = <&gpio 10 0>;	/* PB2 */ +		nvidia,backlight-vdd-gpios = <&gpio 176 0>;	/* PW0 */ +		nvidia,panel-vdd-gpios = <&gpio 22 0>;		/* PC6 */ +		nvidia,panel-timings = <0 0 200 0 0>; +	}; +}; diff --git a/roms/u-boot/arch/arm/dts/tegra20-medcom-wide.dts b/roms/u-boot/arch/arm/dts/tegra20-medcom-wide.dts new file mode 100644 index 00000000..a9a07f9b --- /dev/null +++ b/roms/u-boot/arch/arm/dts/tegra20-medcom-wide.dts @@ -0,0 +1,77 @@ +/dts-v1/; + +#include "tegra20-tamonten.dtsi" + +/ { +	model = "Avionic Design Medcom-Wide"; +	compatible = "ad,medcom-wide", "nvidia,tegra20"; + +	aliases { +		usb0 = "/usb@c5008000"; +		sdhci0 = "/sdhci@c8000600"; +	}; + +	memory { +		reg = <0x00000000 0x20000000>; +	}; + +	host1x { +		status = "okay"; + +		dc@54200000 { +			status = "okay"; + +			rgb { +				nvidia,panel = <&lcd_panel>; +				status = "okay"; +			}; +		}; +	}; + +	serial@70006300 { +		clock-frequency = <216000000>; +	}; + +	i2c@7000c000 { +		status = "disabled"; +	}; + +	i2c@7000c400 { +		status = "disabled"; +	}; + +	i2c@7000c500 { +		status = "disabled"; +	}; + +	i2c@7000d000 { +		status = "disabled"; +	}; + +	usb@c5000000 { +		status = "disabled"; +	}; + +	usb@c5004000 { +		status = "disabled"; +	}; + +	lcd_panel: panel { +		clock = <61715000>; +		xres = <1366>; +		yres = <768>; +		left-margin = <2>; +		right-margin = <47>; +		hsync-len = <136>; +		lower-margin = <21>; +		upper-margin = <11>; +		vsync-len = <4>; + +		nvidia,bits-per-pixel = <16>; +		nvidia,pwm = <&pwm 0 500000>; +		nvidia,backlight-enable-gpios = <&gpio 13 0>; /* PB5 */ +		nvidia,backlight-vdd-gpios = <&gpio 176 0>; /* PW0 */ +		nvidia,lvds-shutdown-gpios = <&gpio 10 0>; /* PB2 */ +		nvidia,panel-timings = <0 0 0 0>; +	}; +}; diff --git a/roms/u-boot/arch/arm/dts/tegra20-paz00.dts b/roms/u-boot/arch/arm/dts/tegra20-paz00.dts new file mode 100644 index 00000000..780203cf --- /dev/null +++ b/roms/u-boot/arch/arm/dts/tegra20-paz00.dts @@ -0,0 +1,91 @@ +/dts-v1/; + +#include "tegra20.dtsi" + +/ { +	model = "Toshiba AC100 / Dynabook AZ"; +	compatible = "compal,paz00", "nvidia,tegra20"; + +	aliases { +		usb0 = "/usb@c5008000"; +		sdhci0 = "/sdhci@c8000600"; +		sdhci1 = "/sdhci@c8000000"; +	}; + +	memory { +		reg = <0x00000000 0x20000000>; +	}; + +	host1x { +		status = "okay"; +		dc@54200000 { +			status = "okay"; +			rgb { +				status = "okay"; +				nvidia,panel = <&lcd_panel>; +			}; +		}; +	}; + +	serial@70006000 { +		clock-frequency = < 216000000 >; +	}; + +	i2c@7000c000 { +		status = "disabled"; +	}; + +	i2c@7000c400 { +		status = "disabled"; +	}; + +	i2c@7000c500 { +		status = "disabled"; +	}; + +	i2c@7000d000 { +		status = "disabled"; +	}; + +	usb@c5000000 { +		status = "disabled"; +	}; + +	usb@c5004000 { +		status = "disabled"; +	}; + +	sdhci@c8000000 { +		status = "okay"; +		cd-gpios = <&gpio 173 1>; /* gpio PV5 */ +		wp-gpios = <&gpio 57 0>; /* gpio PH1 */ +		power-gpios = <&gpio 169 0>; /* gpio PV1 */ +		bus-width = <4>; +	}; + +	sdhci@c8000600 { +		status = "okay"; +		bus-width = <8>; +	}; + +	lcd_panel: panel { +		/* PAZ00 has 1024x600 */ +		clock = <54030000>; +		xres = <1024>; +		yres = <600>; +		right-margin = <160>; +		left-margin = <24>; +		hsync-len = <136>; +		upper-margin = <3>; +		lower-margin = <61>; +		vsync-len = <6>; +		hsync-active-high; +		nvidia,bits-per-pixel = <16>; +		nvidia,pwm = <&pwm 0 0>; +		nvidia,backlight-enable-gpios = <&gpio 164 0>;	/* PU4 */ +		nvidia,lvds-shutdown-gpios = <&gpio 102 0>;	/* PM6 */ +		nvidia,backlight-vdd-gpios = <&gpio 176 0>;	/* PW0 */ +		nvidia,panel-vdd-gpios = <&gpio 4 0>;		/* PA4 */ +		nvidia,panel-timings = <400 4 203 17 15>; +	}; +}; diff --git a/roms/u-boot/arch/arm/dts/tegra20-plutux.dts b/roms/u-boot/arch/arm/dts/tegra20-plutux.dts new file mode 100644 index 00000000..20016f29 --- /dev/null +++ b/roms/u-boot/arch/arm/dts/tegra20-plutux.dts @@ -0,0 +1,45 @@ +/dts-v1/; + +#include "tegra20-tamonten.dtsi" + +/ { +	model = "Avionic Design Plutux"; +	compatible = "ad,plutux", "nvidia,tegra20"; + +	aliases { +		usb0 = "/usb@c5008000"; +		sdhci0 = "/sdhci@c8000600"; +	}; + +	memory { +		reg = <0x00000000 0x20000000>; +	}; + +	serial@70006300 { +		clock-frequency = <216000000>; +	}; + +	i2c@7000c000 { +		status = "disabled"; +	}; + +	i2c@7000c400 { +		status = "disabled"; +	}; + +	i2c@7000c500 { +		status = "disabled"; +	}; + +	i2c@7000d000 { +		status = "disabled"; +	}; + +	usb@c5000000 { +		status = "disabled"; +	}; + +	usb@c5004000 { +		status = "disabled"; +	}; +}; diff --git a/roms/u-boot/arch/arm/dts/tegra20-seaboard.dts b/roms/u-boot/arch/arm/dts/tegra20-seaboard.dts new file mode 100644 index 00000000..c0e2e1e5 --- /dev/null +++ b/roms/u-boot/arch/arm/dts/tegra20-seaboard.dts @@ -0,0 +1,191 @@ +/dts-v1/; + +#include "tegra20.dtsi" + +/ { +	model = "NVIDIA Seaboard"; +	compatible = "nvidia,seaboard", "nvidia,tegra20"; + +	chosen { +		bootargs = "vmalloc=192M video=tegrafb console=ttyS0,115200n8 root=/dev/mmcblk1p3 rw rootwait"; +	}; + +	aliases { +		/* This defines the order of our ports */ +		usb0 = "/usb@c5008000"; +		usb1 = "/usb@c5000000"; +		i2c0 = "/i2c@7000d000"; +		i2c1 = "/i2c@7000c000"; +		i2c2 = "/i2c@7000c400"; +		i2c3 = "/i2c@7000c500"; +		sdhci0 = "/sdhci@c8000600"; +		sdhci1 = "/sdhci@c8000400"; +	}; + +	memory { +		device_type = "memory"; +		reg = < 0x00000000 0x40000000 >; +	}; + +	host1x { +		status = "okay"; +		dc@54200000 { +			status = "okay"; +			rgb { +				status = "okay"; +				nvidia,panel = <&lcd_panel>; +			}; +		}; +	}; + +	/* This is not used in U-Boot, but is expected to be in kernel .dts */ +	i2c@7000d000 { +		clock-frequency = <100000>; +		pmic@34 { +			compatible = "ti,tps6586x"; +			reg = <0x34>; + +			clk_32k: clock { +				compatible = "fixed-clock"; +				/* +				 * leave out for now due to CPP: +				 * #clock-cells = <0>; +				 */ +				clock-frequency = <32768>; +			}; +		}; +	}; + +	serial@70006300 { +		clock-frequency = < 216000000 >; +	}; + +	nand-controller@70008000 { +		nvidia,wp-gpios = <&gpio 59 0>;		/* PH3 */ +		nvidia,width = <8>; +		nvidia,timing = <26 100 20 80 20 10 12 10 70>; +		nand@0 { +			reg = <0>; +			compatible = "hynix,hy27uf4g2b", "nand-flash"; +		}; +	}; + +	i2c@7000c000 { +		clock-frequency = <100000>; +	}; + +	i2c@7000c400 { +		status = "disabled"; +	}; + +	i2c@7000c500 { +		clock-frequency = <100000>; +	}; + +	kbc@7000e200 { +		linux,keymap = <0x00020011 0x0003001f 0x0004001e 0x0005002c +			0x000701d0 0x0107007d 0x02060064 0x02070038 0x03000006 +			0x03010005 0x03020013 0x03030012 0x03040021 0x03050020 +			0x0306002d 0x04000008 0x04010007 0x04020014 0x04030023 +			0x04040022 0x0405002f 0x0406002e 0x04070039 0x0500000a +			0x05010009 0x05020016 0x05030015 0x05040024 0x05050031 +			0x05060030 0x0507002b 0x0600000c 0x0601000b 0x06020018 +			0x06030017 0x06040026 0x06050025 0x06060033 0x06070032 +			0x0701000d 0x0702001b 0x0703001c 0x0707008b 0x08040036 +			0x0805002a 0x09050061 0x0907001d 0x0b00001a 0x0b010019 +			0x0b020028 0x0b030027 0x0b040035 0x0b050034 0x0c000044 +			0x0c010043 0x0c02000e 0x0c030004 0x0c040003 0x0c050067 +			0x0c0600d2 0x0c070077 0x0d00006e 0x0d01006f 0x0d030068 +			0x0d04006d 0x0d05006a 0x0d06006c 0x0d070069 0x0e000057 +			0x0e010058 0x0e020042 0x0e030010 0x0e04003e 0x0e05003d +			0x0e060002 0x0e070041 0x0f000001 0x0f010029 0x0f02003f +			0x0f03000f 0x0f04003b 0x0f05003c 0x0f06003a 0x0f070040 +			0x14000047 0x15000049 0x15010048 0x1502004b 0x1504004f +			0x16010062 0x1602004d 0x1603004c 0x16040051 0x16050050 +			0x16070052 0x1b010037 0x1b03004a 0x1b04004e 0x1b050053 +			0x1c050073 0x1d030066 0x1d04006b 0x1d0500e0 0x1d060072 +			0x1d0700e1 0x1e000045 0x1e010046 0x1e020071 +			0x1f04008a>; +		linux,fn-keymap = <0x05040002>; +	}; + +	emc@7000f400 { +		emc-table@190000 { +			reg = < 190000 >; +			compatible = "nvidia,tegra20-emc-table"; +			clock-frequency = < 190000 >; +			nvidia,emc-registers = < 0x0000000c 0x00000026 +				0x00000009 0x00000003 0x00000004 0x00000004 +				0x00000002 0x0000000c 0x00000003 0x00000003 +				0x00000002 0x00000001 0x00000004 0x00000005 +				0x00000004 0x00000009 0x0000000d 0x0000059f +				0x00000000 0x00000003 0x00000003 0x00000003 +				0x00000003 0x00000001 0x0000000b 0x000000c8 +				0x00000003 0x00000007 0x00000004 0x0000000f +				0x00000002 0x00000000 0x00000000 0x00000002 +				0x00000000 0x00000000 0x00000083 0xa06204ae +				0x007dc010 0x00000000 0x00000000 0x00000000 +				0x00000000 0x00000000 0x00000000 0x00000000 >; +		}; +		emc-table@380000 { +			reg = < 380000 >; +			compatible = "nvidia,tegra20-emc-table"; +			clock-frequency = < 380000 >; +			nvidia,emc-registers = < 0x00000017 0x0000004b +				0x00000012 0x00000006 0x00000004 0x00000005 +				0x00000003 0x0000000c 0x00000006 0x00000006 +				0x00000003 0x00000001 0x00000004 0x00000005 +				0x00000004 0x00000009 0x0000000d 0x00000b5f +				0x00000000 0x00000003 0x00000003 0x00000006 +				0x00000006 0x00000001 0x00000011 0x000000c8 +				0x00000003 0x0000000e 0x00000007 0x0000000f +				0x00000002 0x00000000 0x00000000 0x00000002 +				0x00000000 0x00000000 0x00000083 0xe044048b +				0x007d8010 0x00000000 0x00000000 0x00000000 +				0x00000000 0x00000000 0x00000000 0x00000000 >; +		}; +	}; + +	usb@c5000000 { +		nvidia,vbus-gpio = <&gpio 24 0>; /* PD0 */ +		dr_mode = "otg"; +	}; + +	usb@c5004000 { +		status = "disabled"; +	}; + +	sdhci@c8000400 { +		status = "okay"; +		cd-gpios = <&gpio 69 1>; /* gpio PI5 */ +		wp-gpios = <&gpio 57 0>; /* gpio PH1 */ +		power-gpios = <&gpio 70 0>; /* gpio PI6 */ +		bus-width = <4>; +	}; + +	sdhci@c8000600 { +		status = "okay"; +		bus-width = <8>; +	}; + +	lcd_panel: panel { +		/* Seaboard has 1366x768 */ +		clock = <70600000>; +		xres = <1366>; +		yres = <768>; +		left-margin = <58>; +		right-margin = <58>; +		hsync-len = <58>; +		lower-margin = <4>; +		upper-margin = <4>; +		vsync-len = <4>; +		hsync-active-high; +		nvidia,bits-per-pixel = <16>; +		nvidia,pwm = <&pwm 2 0>; +		nvidia,backlight-enable-gpios = <&gpio 28 0>;	/* PD4 */ +		nvidia,lvds-shutdown-gpios = <&gpio 10 0>;	/* PB2 */ +		nvidia,backlight-vdd-gpios = <&gpio 176 0>;	/* PW0 */ +		nvidia,panel-vdd-gpios = <&gpio 22 0>;		/* PC6 */ +		nvidia,panel-timings = <400 4 203 17 15>; +	}; +}; diff --git a/roms/u-boot/arch/arm/dts/tegra20-tamonten.dtsi b/roms/u-boot/arch/arm/dts/tegra20-tamonten.dtsi new file mode 100644 index 00000000..f379622c --- /dev/null +++ b/roms/u-boot/arch/arm/dts/tegra20-tamonten.dtsi @@ -0,0 +1,500 @@ +#include "tegra20.dtsi" + +/ { +	model = "Avionic Design Tamonten SOM"; +	compatible = "ad,tamonten", "nvidia,tegra20"; + +	memory { +		reg = <0x00000000 0x20000000>; +	}; + +	host1x { +		hdmi { +			vdd-supply = <&hdmi_vdd_reg>; +			pll-supply = <&hdmi_pll_reg>; + +			nvidia,ddc-i2c-bus = <&hdmi_ddc>; +			nvidia,hpd-gpio = <&gpio 111 0>; /* PN7 */ +		}; +	}; + +	pinmux { +		pinctrl-names = "default"; +		pinctrl-0 = <&state_default>; + +		state_default: pinmux { +			ata { +				nvidia,pins = "ata"; +				nvidia,function = "ide"; +			}; +			atb { +				nvidia,pins = "atb", "gma", "gme"; +				nvidia,function = "sdio4"; +			}; +			atc { +				nvidia,pins = "atc"; +				nvidia,function = "nand"; +			}; +			atd { +				nvidia,pins = "atd", "ate", "gmb", "gmd", "gpu", +					"spia", "spib", "spic"; +				nvidia,function = "gmi"; +			}; +			cdev1 { +				nvidia,pins = "cdev1"; +				nvidia,function = "plla_out"; +			}; +			cdev2 { +				nvidia,pins = "cdev2"; +				nvidia,function = "pllp_out4"; +			}; +			crtp { +				nvidia,pins = "crtp"; +				nvidia,function = "crt"; +			}; +			csus { +				nvidia,pins = "csus"; +				nvidia,function = "vi_sensor_clk"; +			}; +			dap1 { +				nvidia,pins = "dap1"; +				nvidia,function = "dap1"; +			}; +			dap2 { +				nvidia,pins = "dap2"; +				nvidia,function = "dap2"; +			}; +			dap3 { +				nvidia,pins = "dap3"; +				nvidia,function = "dap3"; +			}; +			dap4 { +				nvidia,pins = "dap4"; +				nvidia,function = "dap4"; +			}; +			dta { +				nvidia,pins = "dta", "dtd"; +				nvidia,function = "sdio2"; +			}; +			dtb { +				nvidia,pins = "dtb", "dtc", "dte"; +				nvidia,function = "rsvd1"; +			}; +			dtf { +				nvidia,pins = "dtf"; +				nvidia,function = "i2c3"; +			}; +			gmc { +				nvidia,pins = "gmc"; +				nvidia,function = "uartd"; +			}; +			gpu7 { +				nvidia,pins = "gpu7"; +				nvidia,function = "rtck"; +			}; +			gpv { +				nvidia,pins = "gpv", "slxa", "slxk"; +				nvidia,function = "pcie"; +			}; +			hdint { +				nvidia,pins = "hdint"; +				nvidia,function = "hdmi"; +			}; +			i2cp { +				nvidia,pins = "i2cp"; +				nvidia,function = "i2cp"; +			}; +			irrx { +				nvidia,pins = "irrx", "irtx"; +				nvidia,function = "uarta"; +			}; +			kbca { +				nvidia,pins = "kbca", "kbcb", "kbcc", "kbcd", +					"kbce", "kbcf"; +				nvidia,function = "kbc"; +			}; +			lcsn { +				nvidia,pins = "lcsn", "ld0", "ld1", "ld2", +					"ld3", "ld4", "ld5", "ld6", "ld7", +					"ld8", "ld9", "ld10", "ld11", "ld12", +					"ld13", "ld14", "ld15", "ld16", "ld17", +					"ldc", "ldi", "lhp0", "lhp1", "lhp2", +					"lhs", "lm0", "lm1", "lpp", "lpw0", +					"lpw1", "lpw2", "lsc0", "lsc1", "lsck", +					"lsda", "lsdi", "lspi", "lvp0", "lvp1", +					"lvs"; +				nvidia,function = "displaya"; +			}; +			owc { +				nvidia,pins = "owc", "spdi", "spdo", "uac"; +				nvidia,function = "rsvd2"; +			}; +			pmc { +				nvidia,pins = "pmc"; +				nvidia,function = "pwr_on"; +			}; +			rm { +				nvidia,pins = "rm"; +				nvidia,function = "i2c1"; +			}; +			sdb { +				nvidia,pins = "sdb", "sdc", "sdd"; +				nvidia,function = "pwm"; +			}; +			sdio1 { +				nvidia,pins = "sdio1"; +				nvidia,function = "sdio1"; +			}; +			slxc { +				nvidia,pins = "slxc", "slxd"; +				nvidia,function = "spdif"; +			}; +			spid { +				nvidia,pins = "spid", "spie", "spif"; +				nvidia,function = "spi1"; +			}; +			spig { +				nvidia,pins = "spig", "spih"; +				nvidia,function = "spi2_alt"; +			}; +			uaa { +				nvidia,pins = "uaa", "uab", "uda"; +				nvidia,function = "ulpi"; +			}; +			uad { +				nvidia,pins = "uad"; +				nvidia,function = "irda"; +			}; +			uca { +				nvidia,pins = "uca", "ucb"; +				nvidia,function = "uartc"; +			}; +			conf_ata { +				nvidia,pins = "ata", "atb", "atc", "atd", "ate", +					"cdev1", "cdev2", "dap1", "dtb", "gma", +					"gmb", "gmc", "gmd", "gme", "gpu7", +					"gpv", "i2cp", "pta", "rm", "slxa", +					"slxk", "spia", "spib", "uac"; +				nvidia,pull = <0>; +				nvidia,tristate = <0>; +			}; +			conf_ck32 { +				nvidia,pins = "ck32", "ddrc", "pmca", "pmcb", +					"pmcc", "pmcd", "pmce", "xm2c", "xm2d"; +				nvidia,pull = <0>; +			}; +			conf_csus { +				nvidia,pins = "csus", "spid", "spif"; +				nvidia,pull = <1>; +				nvidia,tristate = <1>; +			}; +			conf_crtp { +				nvidia,pins = "crtp", "dap2", "dap3", "dap4", +					"dtc", "dte", "dtf", "gpu", "sdio1", +					"slxc", "slxd", "spdi", "spdo", "spig", +					"uda"; +				nvidia,pull = <0>; +				nvidia,tristate = <1>; +			}; +			conf_ddc { +				nvidia,pins = "ddc", "dta", "dtd", "kbca", +					"kbcb", "kbcc", "kbcd", "kbce", "kbcf", +					"sdc"; +				nvidia,pull = <2>; +				nvidia,tristate = <0>; +			}; +			conf_hdint { +				nvidia,pins = "hdint", "lcsn", "ldc", "lm1", +					"lpw1", "lsc1", "lsck", "lsda", "lsdi", +					"lvp0", "owc", "sdb"; +				nvidia,tristate = <1>; +			}; +			conf_irrx { +				nvidia,pins = "irrx", "irtx", "sdd", "spic", +					"spie", "spih", "uaa", "uab", "uad", +					"uca", "ucb"; +				nvidia,pull = <2>; +				nvidia,tristate = <1>; +			}; +			conf_lc { +				nvidia,pins = "lc", "ls"; +				nvidia,pull = <2>; +			}; +			conf_ld0 { +				nvidia,pins = "ld0", "ld1", "ld2", "ld3", "ld4", +					"ld5", "ld6", "ld7", "ld8", "ld9", +					"ld10", "ld11", "ld12", "ld13", "ld14", +					"ld15", "ld16", "ld17", "ldi", "lhp0", +					"lhp1", "lhp2", "lhs", "lm0", "lpp", +					"lpw0", "lpw2", "lsc0", "lspi", "lvp1", +					"lvs", "pmc"; +				nvidia,tristate = <0>; +			}; +			conf_ld17_0 { +				nvidia,pins = "ld17_0", "ld19_18", "ld21_20", +					"ld23_22"; +				nvidia,pull = <1>; +			}; +		}; + +		state_i2cmux_ddc: pinmux_i2cmux_ddc { +			ddc { +				nvidia,pins = "ddc"; +				nvidia,function = "i2c2"; +			}; +			pta { +				nvidia,pins = "pta"; +				nvidia,function = "rsvd4"; +			}; +		}; + +		state_i2cmux_pta: pinmux_i2cmux_pta { +			ddc { +				nvidia,pins = "ddc"; +				nvidia,function = "rsvd4"; +			}; +			pta { +				nvidia,pins = "pta"; +				nvidia,function = "i2c2"; +			}; +		}; + +		state_i2cmux_idle: pinmux_i2cmux_idle { +			ddc { +				nvidia,pins = "ddc"; +				nvidia,function = "rsvd4"; +			}; +			pta { +				nvidia,pins = "pta"; +				nvidia,function = "rsvd4"; +			}; +		}; +	}; + +	i2s@70002800 { +		status = "okay"; +	}; + +	serial@70006300 { +		status = "okay"; +	}; + +	nand-controller@70008000 { +		nvidia,wp-gpios = <&gpio 23 0>; /* PC7 */ +		nvidia,width = <8>; +		nvidia,timing = <26 100 20 80 20 10 12 10 70>; + +		nand@0 { +			reg = <0>; +			compatible = "hynix,hy27uf4g2b", "nand-flash"; +		}; +	}; + +	i2c@7000c000 { +		clock-frequency = <400000>; +		status = "okay"; +	}; + +	i2c@7000c400 { +		clock-frequency = <100000>; +		status = "okay"; +	}; + +	i2cmux { +		compatible = "i2c-mux-pinctrl"; +		#address-cells = <1>; +		#size-cells = <0>; + +		i2c-parent = <&{/i2c@7000c400}>; + +		pinctrl-names = "ddc", "pta", "idle"; +		pinctrl-0 = <&state_i2cmux_ddc>; +		pinctrl-1 = <&state_i2cmux_pta>; +		pinctrl-2 = <&state_i2cmux_idle>; + +		hdmi_ddc: i2c@0 { +			reg = <0>; +			#address-cells = <1>; +			#size-cells = <0>; +		}; + +		i2c@1 { +			reg = <1>; +			#address-cells = <1>; +			#size-cells = <0>; +		}; +	}; + +	i2c@7000d000 { +		clock-frequency = <400000>; +		status = "okay"; + +		pmic: tps6586x@34 { +			compatible = "ti,tps6586x"; +			reg = <0x34>; +			interrupts = <0 86 0x4>; + +			ti,system-power-controller; + +			#gpio-cells = <2>; +			gpio-controller; + +			sys-supply = <&vdd_5v0_reg>; +			vin-sm0-supply = <&sys_reg>; +			vin-sm1-supply = <&sys_reg>; +			vin-sm2-supply = <&sys_reg>; +			vinldo01-supply = <&sm2_reg>; +			vinldo23-supply = <&sm2_reg>; +			vinldo4-supply = <&sm2_reg>; +			vinldo678-supply = <&sm2_reg>; +			vinldo9-supply = <&sm2_reg>; + +			regulators { +				sys_reg: sys { +					regulator-name = "vdd_sys"; +					regulator-always-on; +				}; + +				sm0 { +					regulator-name = "vdd_sys_sm0,vdd_core"; +					regulator-min-microvolt = <1200000>; +					regulator-max-microvolt = <1200000>; +					regulator-always-on; +				}; + +				sm1 { +					regulator-name = "vdd_sys_sm1,vdd_cpu"; +					regulator-min-microvolt = <1000000>; +					regulator-max-microvolt = <1000000>; +					regulator-always-on; +				}; + +				sm2_reg: sm2 { +					regulator-name = "vdd_sys_sm2,vin_ldo*"; +					regulator-min-microvolt = <3700000>; +					regulator-max-microvolt = <3700000>; +					regulator-always-on; +				}; + +				ldo0 { +					regulator-name = "vdd_ldo0,vddio_pex_clk"; +					regulator-min-microvolt = <3300000>; +					regulator-max-microvolt = <3300000>; +				}; + +				ldo1 { +					regulator-name = "vdd_ldo1,avdd_pll*"; +					regulator-min-microvolt = <1100000>; +					regulator-max-microvolt = <1100000>; +					regulator-always-on; +				}; + +				ldo2 { +					regulator-name = "vdd_ldo2,vdd_rtc"; +					regulator-min-microvolt = <1200000>; +					regulator-max-microvolt = <1200000>; +				}; + +				ldo3 { +					regulator-name = "vdd_ldo3,avdd_usb*"; +					regulator-min-microvolt = <3300000>; +					regulator-max-microvolt = <3300000>; +					regulator-always-on; +				}; + +				ldo4 { +					regulator-name = "vdd_ldo4,avdd_osc,vddio_sys"; +					regulator-min-microvolt = <1800000>; +					regulator-max-microvolt = <1800000>; +					regulator-always-on; +				}; + +				ldo5 { +					regulator-name = "vdd_ldo5,vcore_mmc"; +					regulator-min-microvolt = <2850000>; +					regulator-max-microvolt = <2850000>; +				}; + +				ldo6 { +					regulator-name = "vdd_ldo6,avdd_vdac"; +					/* +					 * According to the Tegra 2 Automotive +					 * DataSheet, a typical value for this +					 * would be 2.8V, but the PMIC only +					 * supports 2.85V. +					 */ +					regulator-min-microvolt = <2850000>; +					regulator-max-microvolt = <2850000>; +				}; + +				hdmi_vdd_reg: ldo7 { +					regulator-name = "vdd_ldo7,avdd_hdmi"; +					regulator-min-microvolt = <3300000>; +					regulator-max-microvolt = <3300000>; +				}; + +				hdmi_pll_reg: ldo8 { +					regulator-name = "vdd_ldo8,avdd_hdmi_pll"; +					regulator-min-microvolt = <1800000>; +					regulator-max-microvolt = <1800000>; +				}; + +				ldo9 { +					regulator-name = "vdd_ldo9,vdd_ddr_rx,avdd_cam"; +					/* +					 * According to the Tegra 2 Automotive +					 * DataSheet, a typical value for this +					 * would be 2.8V, but the PMIC only +					 * supports 2.85V. +					 */ +					regulator-min-microvolt = <2850000>; +					regulator-max-microvolt = <2850000>; +					regulator-always-on; +				}; + +				ldo_rtc { +					regulator-name = "vdd_rtc_out"; +					regulator-min-microvolt = <3300000>; +					regulator-max-microvolt = <3300000>; +					regulator-always-on; +				}; +			}; +		}; + +		temperature-sensor@4c { +			compatible = "onnn,nct1008"; +			reg = <0x4c>; +		}; +	}; + +	pmc { +		nvidia,invert-interrupt; +	}; + +	usb@c5008000 { +		status = "okay"; +	}; + +	sdhci@c8000600 { +		cd-gpios = <&gpio 58 1>; /* gpio PH2 */ +		wp-gpios = <&gpio 59 0>; /* gpio PH3 */ +		bus-width = <4>; +		status = "okay"; +	}; + +	regulators { +		compatible = "simple-bus"; + +		#address-cells = <1>; +		#size-cells = <0>; + +		vdd_5v0_reg: regulator@0 { +			compatible = "regulator-fixed"; +			reg = <0>; +			regulator-name = "vdd_5v0"; +			regulator-min-microvolt = <5000000>; +			regulator-max-microvolt = <5000000>; +			regulator-always-on; +		}; +	}; +}; diff --git a/roms/u-boot/arch/arm/dts/tegra20-tec.dts b/roms/u-boot/arch/arm/dts/tegra20-tec.dts new file mode 100644 index 00000000..4c1b08d7 --- /dev/null +++ b/roms/u-boot/arch/arm/dts/tegra20-tec.dts @@ -0,0 +1,77 @@ +/dts-v1/; + +#include "tegra20-tamonten.dtsi" + +/ { +	model = "Avionic Design Tamonten Evaluation Carrier"; +	compatible = "ad,tec", "nvidia,tegra20"; + +	aliases { +		usb0 = "/usb@c5008000"; +		sdhci0 = "/sdhci@c8000600"; +	}; + +	memory { +		reg = <0x00000000 0x20000000>; +	}; + +	host1x { +		status = "okay"; + +		dc@54200000 { +			status = "okay"; + +			rgb { +				nvidia,panel = <&lcd_panel>; +				status = "okay"; +			}; +		}; +	}; + +	serial@70006300 { +		clock-frequency = <216000000>; +	}; + +	i2c@7000c000 { +		status = "disabled"; +	}; + +	i2c@7000c400 { +		status = "disabled"; +	}; + +	i2c@7000c500 { +		status = "disabled"; +	}; + +	i2c@7000d000 { +		status = "disabled"; +	}; + +	usb@c5000000 { +		status = "disabled"; +	}; + +	usb@c5004000 { +		status = "disabled"; +	}; + +	lcd_panel: panel { +		clock = <33260000>; +		xres = <800>; +		yres = <480>; +		left-margin = <120>; +		right-margin = <120>; +		hsync-len = <16>; +		lower-margin = <15>; +		upper-margin = <15>; +		vsync-len = <15>; + +		nvidia,bits-per-pixel = <16>; +		nvidia,pwm = <&pwm 0 500000>; +		nvidia,backlight-enable-gpios = <&gpio 13 0>; /* PB5 */ +		nvidia,backlight-vdd-gpios = <&gpio 176 0>; /* PW0 */ +		nvidia,lvds-shutdown-gpios = <&gpio 10 0>; /* PB2 */ +		nvidia,panel-timings = <0 0 0 0>; +	}; +}; diff --git a/roms/u-boot/arch/arm/dts/tegra20-trimslice.dts b/roms/u-boot/arch/arm/dts/tegra20-trimslice.dts new file mode 100644 index 00000000..ee31476c --- /dev/null +++ b/roms/u-boot/arch/arm/dts/tegra20-trimslice.dts @@ -0,0 +1,64 @@ +/dts-v1/; + +#include "tegra20.dtsi" + +/ { +	model = "Compulab TrimSlice board"; +	compatible = "compulab,trimslice", "nvidia,tegra20"; + +	aliases { +		usb0 = "/usb@c5008000"; +		usb1 = "/usb@c5000000"; +		sdhci0 = "/sdhci@c8000600"; +		sdhci1 = "/sdhci@c8000000"; +	}; + +	memory { +		reg = <0x00000000 0x40000000>; +	}; + +	serial@70006000 { +		clock-frequency = <216000000>; +	}; + +	i2c@7000c000 { +		status = "disabled"; +	}; + +	spi@7000c380 { +		status = "okay"; +		spi-max-frequency = <25000000>; +	}; + +	i2c@7000c400 { +		status = "disabled"; +	}; + +	i2c@7000c500 { +		status = "disabled"; +	}; + +	i2c@7000d000 { +		status = "disabled"; +	}; + +	usb@c5000000 { +		nvidia,vbus-gpio = <&gpio 170 0>; /* PV2 */ +	}; + +	usb@c5004000 { +		status = "disabled"; +	}; + +	sdhci@c8000000 { +		status = "okay"; +		bus-width = <4>; +	}; + +	sdhci@c8000600 { +		status = "okay"; +		cd-gpios = <&gpio 121 1>; /* gpio PP1 */ +		wp-gpios = <&gpio 122 0>; /* gpio PP2 */ +		bus-width = <4>; +	}; +}; diff --git a/roms/u-boot/arch/arm/dts/tegra20-ventana.dts b/roms/u-boot/arch/arm/dts/tegra20-ventana.dts new file mode 100644 index 00000000..1a526bab --- /dev/null +++ b/roms/u-boot/arch/arm/dts/tegra20-ventana.dts @@ -0,0 +1,91 @@ +/dts-v1/; + +#include "tegra20.dtsi" + +/ { +	model = "NVIDIA Tegra20 Ventana evaluation board"; +	compatible = "nvidia,ventana", "nvidia,tegra20"; + +	aliases { +		usb0 = "/usb@c5008000"; +		sdhci0 = "/sdhci@c8000600"; +		sdhci1 = "/sdhci@c8000400"; +	}; + +	memory { +		reg = <0x00000000 0x40000000>; +	}; + +	host1x { +		status = "okay"; +		dc@54200000 { +			status = "okay"; +			rgb { +				status = "okay"; +				nvidia,panel = <&lcd_panel>; +			}; +		}; +	}; + +	serial@70006300 { +		clock-frequency = < 216000000 >; +	}; + +	i2c@7000c000 { +		status = "disabled"; +	}; + +	i2c@7000c400 { +		status = "disabled"; +	}; + +	i2c@7000c500 { +		status = "disabled"; +	}; + +	i2c@7000d000 { +		status = "disabled"; +	}; + +	usb@c5000000 { +		status = "disabled"; +	}; + +	usb@c5004000 { +		status = "disabled"; +	}; + +	sdhci@c8000400 { +		status = "okay"; +		cd-gpios = <&gpio 69 1>; /* gpio PI5 */ +		wp-gpios = <&gpio 57 0>; /* gpio PH1 */ +		power-gpios = <&gpio 70 0>; /* gpio PI6 */ +		bus-width = <4>; +	}; + +	sdhci@c8000600 { +		status = "okay"; +		bus-width = <8>; +	}; + +	lcd_panel: panel { +		clock = <72072000>; +		xres = <1366>; +		yres = <768>; +		left-margin = <58>; +		right-margin = <58>; +		hsync-len = <58>; +		lower-margin = <4>; +		upper-margin = <4>; +		vsync-len = <4>; +		hsync-active-high; +		vsync-active-high; +		nvidia,bits-per-pixel = <16>; +		nvidia,pwm = <&pwm 2 0>; +		nvidia,backlight-enable-gpios = <&gpio 28 0>;	/* PD4 */ +		nvidia,lvds-shutdown-gpios = <&gpio 10 0>;	/* PB2 */ +		nvidia,backlight-vdd-gpios = <&gpio 176 0>;	/* PW0 */ +		nvidia,panel-vdd-gpios = <&gpio 22 0>;		/* PC6 */ +		nvidia,panel-timings = <0 0 200 0 0>; +	}; +}; diff --git a/roms/u-boot/arch/arm/dts/tegra20-whistler.dts b/roms/u-boot/arch/arm/dts/tegra20-whistler.dts new file mode 100644 index 00000000..eb92264f --- /dev/null +++ b/roms/u-boot/arch/arm/dts/tegra20-whistler.dts @@ -0,0 +1,73 @@ +/dts-v1/; + +#include "tegra20.dtsi" + +/ { +	model = "NVIDIA Tegra20 Whistler evaluation board"; +	compatible = "nvidia,whistler", "nvidia,tegra20"; + +	aliases { +		i2c0 = "/i2c@7000d000"; +		usb0 = "/usb@c5008000"; +		sdhci0 = "/sdhci@c8000600"; +		sdhci1 = "/sdhci@c8000400"; +	}; + +	memory { +		device_type = "memory"; +		reg = < 0x00000000 0x20000000 >; +	}; + +	serial@70006000 { +		clock-frequency = < 216000000 >; +	}; + +	i2c@7000c000 { +		status = "disabled"; +	}; + +	i2c@7000c400 { +		status = "disabled"; +	}; + +	i2c@7000c500 { +		status = "disabled"; +	}; + +	i2c@7000d000 { +		clock-frequency = <100000>; + +		pmic@3c { +			compatible = "maxim,max8907b"; +			reg = <0x3c>; + +			clk_32k: clock { +				compatible = "fixed-clock"; +				/* +				 * leave out for now due to CPP: +				 * #clock-cells = <0>; +				 */ +				clock-frequency = <32768>; +			}; +		}; +	}; + +	usb@c5000000 { +		status = "disabled"; +	}; + +	usb@c5004000 { +		status = "disabled"; +	}; + +	sdhci@c8000400 { +		status = "okay"; +		wp-gpios = <&gpio 173 0>; /* gpio PV5 */ +		bus-width = <8>; +	}; + +	sdhci@c8000600 { +		status = "okay"; +		bus-width = <8>; +	}; +}; diff --git a/roms/u-boot/arch/arm/dts/tegra20.dtsi b/roms/u-boot/arch/arm/dts/tegra20.dtsi new file mode 100644 index 00000000..38057505 --- /dev/null +++ b/roms/u-boot/arch/arm/dts/tegra20.dtsi @@ -0,0 +1,349 @@ +#include "skeleton.dtsi" + +/ { +	compatible = "nvidia,tegra20"; +	interrupt-parent = <&intc>; + +	host1x { +		compatible = "nvidia,tegra20-host1x", "simple-bus"; +		reg = <0x50000000 0x00024000>; +		interrupts = <0 65 0x04   /* mpcore syncpt */ +			      0 67 0x04>; /* mpcore general */ +		status = "disabled"; + +		#address-cells = <1>; +		#size-cells = <1>; + +		ranges = <0x54000000 0x54000000 0x04000000>; + +		/* video-encoding/decoding */ +		mpe { +			reg = <0x54040000 0x00040000>; +			interrupts = <0 68 0x04>; +			status = "disabled"; +		}; + +		/* video input */ +		vi { +			reg = <0x54080000 0x00040000>; +			interrupts = <0 69 0x04>; +			status = "disabled"; +		}; + +		/* EPP */ +		epp { +			reg = <0x540c0000 0x00040000>; +			interrupts = <0 70 0x04>; +			status = "disabled"; +		}; + +		/* ISP */ +		isp { +			reg = <0x54100000 0x00040000>; +			interrupts = <0 71 0x04>; +			status = "disabled"; +		}; + +		/* 2D engine */ +		gr2d { +			reg = <0x54140000 0x00040000>; +			interrupts = <0 72 0x04>; +			status = "disabled"; +		}; + +		/* 3D engine */ +		gr3d { +			reg = <0x54180000 0x00040000>; +			status = "disabled"; +		}; + +		/* display controllers */ +		dc@54200000 { +			compatible = "nvidia,tegra20-dc"; +			reg = <0x54200000 0x00040000>; +			interrupts = <0 73 0x04>; +			status = "disabled"; + +			rgb { +				status = "disabled"; +			}; +		}; + +		dc@54240000 { +			compatible = "nvidia,tegra20-dc"; +			reg = <0x54240000 0x00040000>; +			interrupts = <0 74 0x04>; +			status = "disabled"; + +			rgb { +				status = "disabled"; +			}; +		}; + +		/* outputs */ +		hdmi { +			compatible = "nvidia,tegra20-hdmi"; +			reg = <0x54280000 0x00040000>; +			interrupts = <0 75 0x04>; +			status = "disabled"; +		}; + +		tvo { +			compatible = "nvidia,tegra20-tvo"; +			reg = <0x542c0000 0x00040000>; +			interrupts = <0 76 0x04>; +			status = "disabled"; +		}; + +		dsi { +			compatible = "nvidia,tegra20-dsi"; +			reg = <0x54300000 0x00040000>; +			status = "disabled"; +		}; +	}; + +	intc: interrupt-controller@50041000 { +		compatible = "nvidia,tegra20-gic"; +		interrupt-controller; +		#interrupt-cells = <1>; +		reg = < 0x50041000 0x1000 >, +		      < 0x50040100 0x0100 >; +	}; + +	tegra_car: clock@60006000 { +		compatible = "nvidia,tegra20-car"; +		reg = <0x60006000 0x1000>; +		#clock-cells = <1>; +	}; + +	apbdma: dma { +		compatible = "nvidia,tegra20-apbdma"; +		reg = <0x6000a000 0x1200>; +		interrupts = <0 104 0x04 +			      0 105 0x04 +			      0 106 0x04 +			      0 107 0x04 +			      0 108 0x04 +			      0 109 0x04 +			      0 110 0x04 +			      0 111 0x04 +			      0 112 0x04 +			      0 113 0x04 +			      0 114 0x04 +			      0 115 0x04 +			      0 116 0x04 +			      0 117 0x04 +			      0 118 0x04 +			      0 119 0x04>; +	}; + +	gpio: gpio@6000d000 { +		compatible = "nvidia,tegra20-gpio"; +		reg = < 0x6000d000 0x1000 >; +		interrupts = < 64 65 66 67 87 119 121 >; +		#gpio-cells = <2>; +		gpio-controller; +	}; + +	pinmux: pinmux@70000000 { +		compatible = "nvidia,tegra20-pinmux"; +		reg = < 0x70000014 0x10    /* Tri-state registers */ +			0x70000080 0x20    /* Mux registers */ +			0x700000a0 0x14    /* Pull-up/down registers */ +			0x70000868 0xa8 >; /* Pad control registers */ +	}; + +	das@70000c00 { +		#address-cells = <1>; +		#size-cells = <0>; +		compatible = "nvidia,tegra20-das"; +		reg = <0x70000c00 0x80>; +	}; + +	i2s@70002800 { +		#address-cells = <1>; +		#size-cells = <0>; +		compatible = "nvidia,tegra20-i2s"; +		reg = <0x70002800 0x200>; +		interrupts = < 45 >; +		dma-channel = < 2 >; +	}; + +	i2s@70002a00 { +		#address-cells = <1>; +		#size-cells = <0>; +		compatible = "nvidia,tegra20-i2s"; +		reg = <0x70002a00 0x200>; +		interrupts = < 35 >; +		dma-channel = < 1 >; +	}; + +	serial@70006000 { +		compatible = "nvidia,tegra20-uart"; +		reg = <0x70006000 0x40>; +		reg-shift = <2>; +		interrupts = < 68 >; +	}; + +	serial@70006040 { +		compatible = "nvidia,tegra20-uart"; +		reg = <0x70006040 0x40>; +		reg-shift = <2>; +		interrupts = < 69 >; +	}; + +	serial@70006200 { +		compatible = "nvidia,tegra20-uart"; +		reg = <0x70006200 0x100>; +		reg-shift = <2>; +		interrupts = < 78 >; +	}; + +	serial@70006300 { +		compatible = "nvidia,tegra20-uart"; +		reg = <0x70006300 0x100>; +		reg-shift = <2>; +		interrupts = < 122 >; +	}; + +	serial@70006400 { +		compatible = "nvidia,tegra20-uart"; +		reg = <0x70006400 0x100>; +		reg-shift = <2>; +		interrupts = < 123 >; +	}; + +	nand: nand-controller@70008000 { +		#address-cells = <1>; +		#size-cells = <0>; +		compatible = "nvidia,tegra20-nand"; +		reg = <0x70008000 0x100>; +	}; + +	pwm: pwm@7000a000 { +		compatible = "nvidia,tegra20-pwm"; +		reg = <0x7000a000 0x100>; +		#pwm-cells = <2>; +	}; + +	i2c@7000c000 { +		#address-cells = <1>; +		#size-cells = <0>; +		compatible = "nvidia,tegra20-i2c"; +		reg = <0x7000C000 0x100>; +		interrupts = < 70 >; +		/* PERIPH_ID_I2C1, PLL_P_OUT3 */ +		clocks = <&tegra_car 12>, <&tegra_car 124>; +	}; + +	spi@7000c380 { +		compatible = "nvidia,tegra20-sflash"; +		reg = <0x7000c380 0x80>; +		interrupts = <0 39 0x04>; +		nvidia,dma-request-selector = <&apbdma 11>; +		#address-cells = <1>; +		#size-cells = <0>; +		status = "disabled"; +		/* PERIPH_ID_SPI1, PLLP_OUT0 */ +		clocks = <&tegra_car 43>; +	}; + +	i2c@7000c400 { +		#address-cells = <1>; +		#size-cells = <0>; +		compatible = "nvidia,tegra20-i2c"; +		reg = <0x7000C400 0x100>; +		interrupts = < 116 >; +		/* PERIPH_ID_I2C2, PLL_P_OUT3 */ +		clocks = <&tegra_car 54>, <&tegra_car 124>; +	}; + +	i2c@7000c500 { +		#address-cells = <1>; +		#size-cells = <0>; +		compatible = "nvidia,tegra20-i2c"; +		reg = <0x7000C500 0x100>; +		interrupts = < 124 >; +		/* PERIPH_ID_I2C3, PLL_P_OUT3 */ +		clocks = <&tegra_car 67>, <&tegra_car 124>; +	}; + +	i2c@7000d000 { +		#address-cells = <1>; +		#size-cells = <0>; +		compatible = "nvidia,tegra20-i2c-dvc"; +		reg = <0x7000D000 0x200>; +		interrupts = < 85 >; +		/* PERIPH_ID_DVC_I2C, PLL_P_OUT3 */ +		clocks = <&tegra_car 47>, <&tegra_car 124>; +	}; + +	kbc@7000e200 { +		compatible = "nvidia,tegra20-kbc"; +		reg = <0x7000e200 0x0078>; +	}; + +	emc@7000f400 { +		#address-cells = < 1 >; +		#size-cells = < 0 >; +		compatible = "nvidia,tegra20-emc"; +		reg = <0x7000f400 0x200>; +	}; + +	usb@c5000000 { +		compatible = "nvidia,tegra20-ehci", "usb-ehci"; +		reg = <0xc5000000 0x4000>; +		interrupts = < 52 >; +		phy_type = "utmi"; +		clocks = <&tegra_car 22>;	/* PERIPH_ID_USBD */ +		nvidia,has-legacy-mode; +	}; + +	usb@c5004000 { +		compatible = "nvidia,tegra20-ehci", "usb-ehci"; +		reg = <0xc5004000 0x4000>; +		interrupts = < 53 >; +		phy_type = "ulpi"; +		clocks = <&tegra_car 58>;	/* PERIPH_ID_USB2 */ +	}; + +	usb@c5008000 { +		compatible = "nvidia,tegra20-ehci", "usb-ehci"; +		reg = <0xc5008000 0x4000>; +		interrupts = < 129 >; +		phy_type = "utmi"; +		clocks = <&tegra_car 59>;	/* PERIPH_ID_USB3 */ +	}; + +	sdhci@c8000000 { +		compatible = "nvidia,tegra20-sdhci"; +		reg = <0xc8000000 0x200>; +		interrupts = <0 14 0x04>; +		clocks = <&tegra_car 14>; +		status = "disabled"; +	}; + +	sdhci@c8000200 { +		compatible = "nvidia,tegra20-sdhci"; +		reg = <0xc8000200 0x200>; +		interrupts = <0 15 0x04>; +		clocks = <&tegra_car 9>; +		status = "disabled"; +	}; + +	sdhci@c8000400 { +		compatible = "nvidia,tegra20-sdhci"; +		reg = <0xc8000400 0x200>; +		interrupts = <0 19 0x04>; +		clocks = <&tegra_car 69>; +		status = "disabled"; +	}; + +	sdhci@c8000600 { +		compatible = "nvidia,tegra20-sdhci"; +		reg = <0xc8000600 0x200>; +		interrupts = <0 31 0x04>; +		clocks = <&tegra_car 15>; +		status = "disabled"; +	}; +}; diff --git a/roms/u-boot/arch/arm/dts/tegra30-beaver.dts b/roms/u-boot/arch/arm/dts/tegra30-beaver.dts new file mode 100644 index 00000000..a7cc93e9 --- /dev/null +++ b/roms/u-boot/arch/arm/dts/tegra30-beaver.dts @@ -0,0 +1,77 @@ +/dts-v1/; + +#include "tegra30.dtsi" + +/ { +	model = "NVIDIA Beaver"; +	compatible = "nvidia,beaver", "nvidia,tegra30"; + +	aliases { +		i2c0 = "/i2c@7000d000"; +		i2c1 = "/i2c@7000c000"; +		i2c2 = "/i2c@7000c400"; +		i2c3 = "/i2c@7000c500"; +		i2c4 = "/i2c@7000c700"; +		sdhci0 = "/sdhci@78000600"; +		sdhci1 = "/sdhci@78000000"; +		usb0 = "/usb@7d008000"; +	}; + +	memory { +		device_type = "memory"; +		reg = <0x80000000 0x7ff00000>; +	}; + +	i2c@7000c000 { +		status = "okay"; +		clock-frequency = <100000>; +	}; + +	i2c@7000c400 { +		status = "okay"; +		clock-frequency = <100000>; +	}; + +	i2c@7000c500 { +		status = "okay"; +		clock-frequency = <100000>; +	}; + +	i2c@7000c700 { +		status = "okay"; +		clock-frequency = <100000>; +	}; + +	i2c@7000d000 { +		status = "okay"; +		clock-frequency = <100000>; +	}; + +	spi@7000da00 { +		status = "okay"; +		spi-max-frequency = <25000000>; +		spi-flash@1 { +			compatible = "winbond,w25q32"; +			reg = <1>; +			spi-max-frequency = <20000000>; +		}; +	}; + +	sdhci@78000000 { +		status = "okay"; +		cd-gpios = <&gpio 69 1>; /* gpio PI5 */ +		wp-gpios = <&gpio 155 0>; /* gpio PT3 */ +		power-gpios = <&gpio 31 0>; /* gpio PD7 */ +		bus-width = <4>; +	}; + +	sdhci@78000600 { +		status = "okay"; +		bus-width = <8>; +	}; + +	usb@7d008000 { +		nvidia,vbus-gpio = <&gpio 236 0>; /* PDD4 */ +		status = "okay"; +	}; +}; diff --git a/roms/u-boot/arch/arm/dts/tegra30-cardhu.dts b/roms/u-boot/arch/arm/dts/tegra30-cardhu.dts new file mode 100644 index 00000000..ea2cf76f --- /dev/null +++ b/roms/u-boot/arch/arm/dts/tegra30-cardhu.dts @@ -0,0 +1,72 @@ +/dts-v1/; + +#include "tegra30.dtsi" + +/ { +	model = "NVIDIA Cardhu"; +	compatible = "nvidia,cardhu", "nvidia,tegra30"; + +	aliases { +		i2c0 = "/i2c@7000d000"; +		i2c1 = "/i2c@7000c000"; +		i2c2 = "/i2c@7000c400"; +		i2c3 = "/i2c@7000c500"; +		i2c4 = "/i2c@7000c700"; +		sdhci0 = "/sdhci@78000600"; +		sdhci1 = "/sdhci@78000000"; +		usb0 = "/usb@7d008000"; +	}; + +	memory { +		device_type = "memory"; +		reg = <0x80000000 0x40000000>; +	}; + +	i2c@7000c000 { +		status = "okay"; +		clock-frequency = <100000>; +	}; + +	i2c@7000c400 { +		status = "okay"; +		clock-frequency = <100000>; +	}; + +	i2c@7000c500 { +		status = "okay"; +		clock-frequency = <100000>; +	}; + +	i2c@7000c700 { +		status = "okay"; +		clock-frequency = <100000>; +	}; + +	i2c@7000d000 { +		status = "okay"; +		clock-frequency = <100000>; +	}; + +	spi@7000da00 { +		status = "okay"; +		spi-max-frequency = <25000000>; +	}; + +	sdhci@78000000 { +		status = "okay"; +		cd-gpios = <&gpio 69 1>; /* gpio PI5 */ +		wp-gpios = <&gpio 155 0>; /* gpio PT3 */ +		power-gpios = <&gpio 31 0>; /* gpio PD7 */ +		bus-width = <4>; +	}; + +	sdhci@78000600 { +		status = "okay"; +		bus-width = <8>; +	}; + +	usb@7d008000 { +		nvidia,vbus-gpio = <&gpio 236 0>;	/* PDD4 */ +		status = "okay"; +	}; +}; diff --git a/roms/u-boot/arch/arm/dts/tegra30-tamonten.dtsi b/roms/u-boot/arch/arm/dts/tegra30-tamonten.dtsi new file mode 100644 index 00000000..50d57623 --- /dev/null +++ b/roms/u-boot/arch/arm/dts/tegra30-tamonten.dtsi @@ -0,0 +1,69 @@ +#include "tegra30.dtsi" + +/ { +	model = "Avionic Design Tamonten NG"; +	compatible = "ad,tamonten-ng", "nvidia,tegra30"; + +	memory { +		reg = <0x80000000 0x40000000>; +	}; + +	aliases { +		i2c0 = "/i2c@7000c000"; +		i2c1 = "/i2c@7000c700"; +		i2c2 = "/i2c@7000c400"; +		i2c3 = "/i2c@7000c500"; +		i2c4 = "/i2c@7000d000"; +		sdhci0 = "/sdhci@78000600"; +		sdhci1 = "/sdhci@78000400"; +		sdhci2 = "/sdhci@78000000"; +		usb0 = "/usb@7d008000"; +	}; + +	/* GEN1 */ +	i2c@7000c000 { +		status = "okay"; +		clock-frequency = <100000>; +	}; + +	/* GEN2 */ +	i2c@7000c400 { +		clock-frequency = <100000>; +	}; + +	/* CAM */ +	i2c@7000c500 { +		status = "okay"; +		clock-frequency = <100000>; +	}; + +	/* DDC */ +	i2c@7000c700 { +		status = "okay"; +		clock-frequency = <100000>; +	}; + +	/* PWR */ +	i2c@7000d000 { +		status = "okay"; +		clock-frequency = <100000>; +	}; + +	/* SD slot on the base board */ +	sdhci@78000400 { +		cd-gpios = <&gpio 69 1>; /* gpio PI5 */ +		wp-gpios = <&gpio 67 0>; /* gpio PI3 */ +		bus-width = <4>; +	}; + +	/* EMMC on the COM module */ +	sdhci@78000600 { +		status = "okay"; +		bus-width = <8>; +	}; + +	usb@7d008000 { +		status = "okay"; +	}; + +}; diff --git a/roms/u-boot/arch/arm/dts/tegra30-tec-ng.dts b/roms/u-boot/arch/arm/dts/tegra30-tec-ng.dts new file mode 100644 index 00000000..8a69e818 --- /dev/null +++ b/roms/u-boot/arch/arm/dts/tegra30-tec-ng.dts @@ -0,0 +1,18 @@ +/dts-v1/; + +#include "tegra30-tamonten.dtsi" + +/ { +	model = "Avionic Design Tamonten™ NG Evaluation Carrier"; +	compatible = "ad,tec-ng", "nvidia,tegra30"; + +	/* GEN2 */ +	i2c@7000c400 { +		status = "okay"; +	}; + +	/* SD card slot */ +	sdhci@78000400 { +		status = "okay"; +	}; +}; diff --git a/roms/u-boot/arch/arm/dts/tegra30.dtsi b/roms/u-boot/arch/arm/dts/tegra30.dtsi new file mode 100644 index 00000000..fee1c36e --- /dev/null +++ b/roms/u-boot/arch/arm/dts/tegra30.dtsi @@ -0,0 +1,246 @@ +#include "skeleton.dtsi" + +/ { +	compatible = "nvidia,tegra30"; + +	tegra_car: clock { +		compatible = "nvidia,tegra30-car"; +		reg = <0x60006000 0x1000>; +		#clock-cells = <1>; +	}; + +	apbdma: dma { +		compatible = "nvidia,tegra30-apbdma", "nvidia,tegra20-apbdma"; +		reg = <0x6000a000 0x1400>; +		interrupts = <0 104 0x04 +			      0 105 0x04 +			      0 106 0x04 +			      0 107 0x04 +			      0 108 0x04 +			      0 109 0x04 +			      0 110 0x04 +			      0 111 0x04 +			      0 112 0x04 +			      0 113 0x04 +			      0 114 0x04 +			      0 115 0x04 +			      0 116 0x04 +			      0 117 0x04 +			      0 118 0x04 +			      0 119 0x04 +			      0 128 0x04 +			      0 129 0x04 +			      0 130 0x04 +			      0 131 0x04 +			      0 132 0x04 +			      0 133 0x04 +			      0 134 0x04 +			      0 135 0x04 +			      0 136 0x04 +			      0 137 0x04 +			      0 138 0x04 +			      0 139 0x04 +			      0 140 0x04 +			      0 141 0x04 +			      0 142 0x04 +			      0 143 0x04>; +		clocks = <&tegra_car 34>; +	}; + +	gpio: gpio { +		compatible = "nvidia,tegra30-gpio"; +		reg = <0x6000d000 0x1000>; +		interrupts = <0 32 0x04 +			      0 33 0x04 +			      0 34 0x04 +			      0 35 0x04 +			      0 55 0x04 +			      0 87 0x04 +			      0 89 0x04 +			      0 125 0x04>; +		#gpio-cells = <2>; +		gpio-controller; +		#interrupt-cells = <2>; +		interrupt-controller; +	}; + +	i2c@7000c000 { +		compatible =  "nvidia,tegra30-i2c", "nvidia,tegra20-i2c"; +		reg = <0x7000c000 0x100>; +		interrupts = <0 38 0x04>; +		#address-cells = <1>; +		#size-cells = <0>; +		clocks = <&tegra_car 12>, <&tegra_car 182>; +		clock-names = "div-clk", "fast-clk"; +		status = "disabled"; +	}; + +	i2c@7000c400 { +		compatible = "nvidia,tegra30-i2c", "nvidia,tegra20-i2c"; +		reg = <0x7000c400 0x100>; +		interrupts = <0 84 0x04>; +		#address-cells = <1>; +		#size-cells = <0>; +		clocks = <&tegra_car 54>, <&tegra_car 182>; +		clock-names = "div-clk", "fast-clk"; +		status = "disabled"; +	}; + +	i2c@7000c500 { +		compatible = "nvidia,tegra30-i2c", "nvidia,tegra20-i2c"; +		reg = <0x7000c500 0x100>; +		interrupts = <0 92 0x04>; +		#address-cells = <1>; +		#size-cells = <0>; +		clocks = <&tegra_car 67>, <&tegra_car 182>; +		clock-names = "div-clk", "fast-clk"; +		status = "disabled"; +	}; + +	i2c@7000c700 { +		compatible = "nvidia,tegra30-i2c", "nvidia,tegra20-i2c"; +		reg = <0x7000c700 0x100>; +		interrupts = <0 120 0x04>; +		#address-cells = <1>; +		#size-cells = <0>; +		clocks = <&tegra_car 103>, <&tegra_car 182>; +		clock-names = "div-clk", "fast-clk"; +		status = "disabled"; +	}; + +	i2c@7000d000 { +		compatible = "nvidia,tegra30-i2c", "nvidia,tegra20-i2c"; +		reg = <0x7000d000 0x100>; +		interrupts = <0 53 0x04>; +		#address-cells = <1>; +		#size-cells = <0>; +		clocks = <&tegra_car 47>, <&tegra_car 182>; +		clock-names = "div-clk", "fast-clk"; +		status = "disabled"; +	}; + +	spi@7000d400 { +		compatible = "nvidia,tegra30-slink", "nvidia,tegra20-slink"; +		reg = <0x7000d400 0x200>; +		interrupts = <0 59 0x04>; +		nvidia,dma-request-selector = <&apbdma 15>; +		#address-cells = <1>; +		#size-cells = <0>; +		clocks = <&tegra_car 41>; +		status = "disabled"; +	}; + +	spi@7000d600 { +		compatible = "nvidia,tegra30-slink", "nvidia,tegra20-slink"; +		reg = <0x7000d600 0x200>; +		interrupts = <0 82 0x04>; +		nvidia,dma-request-selector = <&apbdma 16>; +		#address-cells = <1>; +		#size-cells = <0>; +		clocks = <&tegra_car 44>; +		status = "disabled"; +	}; + +	spi@7000d800 { +		compatible = "nvidia,tegra30-slink", "nvidia,tegra20-slink"; +		reg = <0x7000d480 0x200>; +		interrupts = <0 83 0x04>; +		nvidia,dma-request-selector = <&apbdma 17>; +		#address-cells = <1>; +		#size-cells = <0>; +		clocks = <&tegra_car 46>; +		status = "disabled"; +	}; + +	spi@7000da00 { +		compatible = "nvidia,tegra30-slink", "nvidia,tegra20-slink"; +		reg = <0x7000da00 0x200>; +		interrupts = <0 93 0x04>; +		nvidia,dma-request-selector = <&apbdma 18>; +		#address-cells = <1>; +		#size-cells = <0>; +		clocks = <&tegra_car 68>; +		status = "disabled"; +	}; + +	spi@7000dc00 { +		compatible = "nvidia,tegra30-slink", "nvidia,tegra20-slink"; +		reg = <0x7000dc00 0x200>; +		interrupts = <0 94 0x04>; +		nvidia,dma-request-selector = <&apbdma 27>; +		#address-cells = <1>; +		#size-cells = <0>; +		clocks = <&tegra_car 104>; +		status = "disabled"; +	}; + +	spi@7000de00 { +		compatible = "nvidia,tegra30-slink", "nvidia,tegra20-slink"; +		reg = <0x7000de00 0x200>; +		interrupts = <0 79 0x04>; +		nvidia,dma-request-selector = <&apbdma 28>; +		#address-cells = <1>; +		#size-cells = <0>; +		clocks = <&tegra_car 105>; +		status = "disabled"; +	}; + +	sdhci@78000000 { +		compatible = "nvidia,tegra30-sdhci"; +		reg = <0x78000000 0x200>; +		interrupts = <0 14 0x04>; +		clocks = <&tegra_car 14>; +		status = "disabled"; +	}; + +	sdhci@78000200 { +		compatible = "nvidia,tegra30-sdhci"; +		reg = <0x78000200 0x200>; +		interrupts = <0 15 0x04>; +		clocks = <&tegra_car 9>; +		status = "disabled"; +	}; + +	sdhci@78000400 { +		compatible = "nvidia,tegra30-sdhci"; +		reg = <0x78000400 0x200>; +		interrupts = <0 19 0x04>; +		clocks = <&tegra_car 69>; +		status = "disabled"; +	}; + +	sdhci@78000600 { +		compatible = "nvidia,tegra30-sdhci"; +		reg = <0x78000600 0x200>; +		interrupts = <0 31 0x04>; +		clocks = <&tegra_car 15>; +		status = "disabled"; +	}; + +	usb@7d000000 { +		compatible = "nvidia,tegra30-ehci"; +		reg = <0x7d000000 0x4000>; +		interrupts = <52>; +		phy_type = "utmi"; +		clocks = <&tegra_car 22>;	/* PERIPH_ID_USBD */ +		status = "disabled"; +	}; + +	usb@7d004000 { +		compatible = "nvidia,tegra30-ehci"; +		reg = <0x7d004000 0x4000>; +		interrupts = <53>; +		phy_type = "hsic"; +		clocks = <&tegra_car 58>;	/* PERIPH_ID_USB2 */ +		status = "disabled"; +	}; + +	usb@7d008000 { +		compatible = "nvidia,tegra30-ehci"; +		reg = <0x7d008000 0x4000>; +		interrupts = <129>; +		phy_type = "utmi"; +		clocks = <&tegra_car 59>;	/* PERIPH_ID_USB3 */ +		status = "disabled"; +	}; +}; diff --git a/roms/u-boot/arch/arm/dts/zynq-7000.dtsi b/roms/u-boot/arch/arm/dts/zynq-7000.dtsi new file mode 100644 index 00000000..f20b8bd6 --- /dev/null +++ b/roms/u-boot/arch/arm/dts/zynq-7000.dtsi @@ -0,0 +1,13 @@ +/* + * Xilinx Zynq 7000 DTSI + * Describes the hardware common to all Zynq 7000-based boards. + * + * Copyright (C) 2013 Xilinx, Inc. + * + * SPDX-License-Identifier:	GPL-2.0+ + */ +/include/ "skeleton.dtsi" + +/ { +	compatible = "xlnx,zynq-7000"; +}; diff --git a/roms/u-boot/arch/arm/dts/zynq-microzed.dts b/roms/u-boot/arch/arm/dts/zynq-microzed.dts new file mode 100644 index 00000000..6da71c11 --- /dev/null +++ b/roms/u-boot/arch/arm/dts/zynq-microzed.dts @@ -0,0 +1,14 @@ +/* + * Xilinx MicroZED board DTS + * + * Copyright (C) 2013 Xilinx, Inc. + * + * SPDX-License-Identifier:	GPL-2.0+ + */ +/dts-v1/; +#include "zynq-7000.dtsi" + +/ { +	model = "Zynq MicroZED Board"; +	compatible = "xlnx,zynq-microzed", "xlnx,zynq-7000"; +}; diff --git a/roms/u-boot/arch/arm/dts/zynq-zc702.dts b/roms/u-boot/arch/arm/dts/zynq-zc702.dts new file mode 100644 index 00000000..667dc282 --- /dev/null +++ b/roms/u-boot/arch/arm/dts/zynq-zc702.dts @@ -0,0 +1,14 @@ +/* + * Xilinx ZC702 board DTS + * + * Copyright (C) 2013 Xilinx, Inc. + * + * SPDX-License-Identifier:	GPL-2.0+ + */ +/dts-v1/; +#include "zynq-7000.dtsi" + +/ { +	model = "Zynq ZC702 Board"; +	compatible = "xlnx,zynq-zc702", "xlnx,zynq-7000"; +}; diff --git a/roms/u-boot/arch/arm/dts/zynq-zc706.dts b/roms/u-boot/arch/arm/dts/zynq-zc706.dts new file mode 100644 index 00000000..526fc888 --- /dev/null +++ b/roms/u-boot/arch/arm/dts/zynq-zc706.dts @@ -0,0 +1,14 @@ +/* + * Xilinx ZC706 board DTS + * + * Copyright (C) 2013 Xilinx, Inc. + * + * SPDX-License-Identifier:	GPL-2.0+ + */ +/dts-v1/; +#include "zynq-7000.dtsi" + +/ { +	model = "Zynq ZC706 Board"; +	compatible = "xlnx,zynq-zc706", "xlnx,zynq-7000"; +}; diff --git a/roms/u-boot/arch/arm/dts/zynq-zc770-xm010.dts b/roms/u-boot/arch/arm/dts/zynq-zc770-xm010.dts new file mode 100644 index 00000000..8b542a10 --- /dev/null +++ b/roms/u-boot/arch/arm/dts/zynq-zc770-xm010.dts @@ -0,0 +1,14 @@ +/* + * Xilinx ZC770 XM010 board DTS + * + * Copyright (C) 2013 Xilinx, Inc. + * + * SPDX-License-Identifier:	GPL-2.0+ + */ +/dts-v1/; +#include "zynq-7000.dtsi" + +/ { +	model = "Zynq ZC770 XM010 Board"; +	compatible = "xlnx,zynq-zc770-xm010", "xlnx,zynq-7000"; +}; diff --git a/roms/u-boot/arch/arm/dts/zynq-zc770-xm012.dts b/roms/u-boot/arch/arm/dts/zynq-zc770-xm012.dts new file mode 100644 index 00000000..0379a070 --- /dev/null +++ b/roms/u-boot/arch/arm/dts/zynq-zc770-xm012.dts @@ -0,0 +1,14 @@ +/* + * Xilinx ZC770 XM012 board DTS + * + * Copyright (C) 2013 Xilinx, Inc. + * + * SPDX-License-Identifier:	GPL-2.0+ + */ +/dts-v1/; +#include "zynq-7000.dtsi" + +/ { +	model = "Zynq ZC770 XM012 Board"; +	compatible = "xlnx,zynq-zc770-xm012", "xlnx,zynq-7000"; +}; diff --git a/roms/u-boot/arch/arm/dts/zynq-zc770-xm013.dts b/roms/u-boot/arch/arm/dts/zynq-zc770-xm013.dts new file mode 100644 index 00000000..a4f9e05f --- /dev/null +++ b/roms/u-boot/arch/arm/dts/zynq-zc770-xm013.dts @@ -0,0 +1,14 @@ +/* + * Xilinx ZC770 XM013 board DTS + * + * Copyright (C) 2013 Xilinx, Inc. + * + * SPDX-License-Identifier:	GPL-2.0+ + */ +/dts-v1/; +#include "zynq-7000.dtsi" + +/ { +	model = "Zynq ZC770 XM013 Board"; +	compatible = "xlnx,zynq-zc770-xm013", "xlnx,zynq-7000"; +}; diff --git a/roms/u-boot/arch/arm/dts/zynq-zed.dts b/roms/u-boot/arch/arm/dts/zynq-zed.dts new file mode 100644 index 00000000..91a5deba --- /dev/null +++ b/roms/u-boot/arch/arm/dts/zynq-zed.dts @@ -0,0 +1,14 @@ +/* + * Xilinx ZED board DTS + * + * Copyright (C) 2013 Xilinx, Inc. + * + * SPDX-License-Identifier:	GPL-2.0+ + */ +/dts-v1/; +#include "zynq-7000.dtsi" + +/ { +	model = "Zynq ZED Board"; +	compatible = "xlnx,zynq-zed", "xlnx,zynq-7000"; +};  | 
