xref: /openbmc/u-boot/arch/arm/dts/tegra20-seaboard.dts (revision 2b2b50bc8748bf1ddb2d96da7157f9eecbe24961)
15ab502cbSMasahiro Yamada/dts-v1/;
25ab502cbSMasahiro Yamada
35ab502cbSMasahiro Yamada#include "tegra20.dtsi"
45ab502cbSMasahiro Yamada
55ab502cbSMasahiro Yamada/ {
65ab502cbSMasahiro Yamada	model = "NVIDIA Seaboard";
75ab502cbSMasahiro Yamada	compatible = "nvidia,seaboard", "nvidia,tegra20";
85ab502cbSMasahiro Yamada
95ab502cbSMasahiro Yamada	chosen {
105ab502cbSMasahiro Yamada		bootargs = "vmalloc=192M video=tegrafb console=ttyS0,115200n8 root=/dev/mmcblk1p3 rw rootwait";
115ab502cbSMasahiro Yamada	};
125ab502cbSMasahiro Yamada
13c3691392SSimon Glass	chosen {
14c3691392SSimon Glass		stdout-path = &uartd;
15c3691392SSimon Glass	};
16c3691392SSimon Glass
175ab502cbSMasahiro Yamada	aliases {
185ab502cbSMasahiro Yamada		/* This defines the order of our ports */
195ab502cbSMasahiro Yamada		usb0 = "/usb@c5008000";
205ab502cbSMasahiro Yamada		usb1 = "/usb@c5000000";
215ab502cbSMasahiro Yamada		i2c0 = "/i2c@7000d000";
225ab502cbSMasahiro Yamada		i2c1 = "/i2c@7000c000";
235ab502cbSMasahiro Yamada		i2c2 = "/i2c@7000c400";
245ab502cbSMasahiro Yamada		i2c3 = "/i2c@7000c500";
255ab502cbSMasahiro Yamada		sdhci0 = "/sdhci@c8000600";
265ab502cbSMasahiro Yamada		sdhci1 = "/sdhci@c8000400";
275ab502cbSMasahiro Yamada	};
285ab502cbSMasahiro Yamada
295ab502cbSMasahiro Yamada	memory {
305ab502cbSMasahiro Yamada		device_type = "memory";
315ab502cbSMasahiro Yamada		reg = < 0x00000000 0x40000000 >;
325ab502cbSMasahiro Yamada	};
335ab502cbSMasahiro Yamada
345ab502cbSMasahiro Yamada	host1x {
355ab502cbSMasahiro Yamada		status = "okay";
365ab502cbSMasahiro Yamada		dc@54200000 {
375ab502cbSMasahiro Yamada			status = "okay";
385ab502cbSMasahiro Yamada			rgb {
395ab502cbSMasahiro Yamada				status = "okay";
405ab502cbSMasahiro Yamada				nvidia,panel = <&lcd_panel>;
415ab502cbSMasahiro Yamada			};
425ab502cbSMasahiro Yamada		};
435ab502cbSMasahiro Yamada	};
445ab502cbSMasahiro Yamada
455ab502cbSMasahiro Yamada	/* This is not used in U-Boot, but is expected to be in kernel .dts */
465ab502cbSMasahiro Yamada	i2c@7000d000 {
475ab502cbSMasahiro Yamada		clock-frequency = <100000>;
485ab502cbSMasahiro Yamada		pmic@34 {
495ab502cbSMasahiro Yamada			compatible = "ti,tps6586x";
505ab502cbSMasahiro Yamada			reg = <0x34>;
515ab502cbSMasahiro Yamada
525ab502cbSMasahiro Yamada			clk_32k: clock {
535ab502cbSMasahiro Yamada				compatible = "fixed-clock";
545ab502cbSMasahiro Yamada				/*
555ab502cbSMasahiro Yamada				 * leave out for now due to CPP:
565ab502cbSMasahiro Yamada				 * #clock-cells = <0>;
575ab502cbSMasahiro Yamada				 */
585ab502cbSMasahiro Yamada				clock-frequency = <32768>;
595ab502cbSMasahiro Yamada			};
605ab502cbSMasahiro Yamada		};
615ab502cbSMasahiro Yamada	};
625ab502cbSMasahiro Yamada
635ab502cbSMasahiro Yamada	serial@70006300 {
645ab502cbSMasahiro Yamada		clock-frequency = < 216000000 >;
655ab502cbSMasahiro Yamada	};
665ab502cbSMasahiro Yamada
675ab502cbSMasahiro Yamada	nand-controller@70008000 {
68*2b2b50bcSSimon Glass		nvidia,wp-gpios = <&gpio TEGRA_GPIO(H, 3) GPIO_ACTIVE_HIGH>;
695ab502cbSMasahiro Yamada		nvidia,width = <8>;
705ab502cbSMasahiro Yamada		nvidia,timing = <26 100 20 80 20 10 12 10 70>;
715ab502cbSMasahiro Yamada		nand@0 {
725ab502cbSMasahiro Yamada			reg = <0>;
735ab502cbSMasahiro Yamada			compatible = "hynix,hy27uf4g2b", "nand-flash";
745ab502cbSMasahiro Yamada		};
755ab502cbSMasahiro Yamada	};
765ab502cbSMasahiro Yamada
775ab502cbSMasahiro Yamada	i2c@7000c000 {
785ab502cbSMasahiro Yamada		clock-frequency = <100000>;
795ab502cbSMasahiro Yamada	};
805ab502cbSMasahiro Yamada
815ab502cbSMasahiro Yamada	i2c@7000c400 {
825ab502cbSMasahiro Yamada		status = "disabled";
835ab502cbSMasahiro Yamada	};
845ab502cbSMasahiro Yamada
855ab502cbSMasahiro Yamada	i2c@7000c500 {
865ab502cbSMasahiro Yamada		clock-frequency = <100000>;
875ab502cbSMasahiro Yamada	};
885ab502cbSMasahiro Yamada
895ab502cbSMasahiro Yamada	kbc@7000e200 {
905ab502cbSMasahiro Yamada		linux,keymap = <0x00020011 0x0003001f 0x0004001e 0x0005002c
915ab502cbSMasahiro Yamada			0x000701d0 0x0107007d 0x02060064 0x02070038 0x03000006
925ab502cbSMasahiro Yamada			0x03010005 0x03020013 0x03030012 0x03040021 0x03050020
935ab502cbSMasahiro Yamada			0x0306002d 0x04000008 0x04010007 0x04020014 0x04030023
945ab502cbSMasahiro Yamada			0x04040022 0x0405002f 0x0406002e 0x04070039 0x0500000a
955ab502cbSMasahiro Yamada			0x05010009 0x05020016 0x05030015 0x05040024 0x05050031
965ab502cbSMasahiro Yamada			0x05060030 0x0507002b 0x0600000c 0x0601000b 0x06020018
975ab502cbSMasahiro Yamada			0x06030017 0x06040026 0x06050025 0x06060033 0x06070032
985ab502cbSMasahiro Yamada			0x0701000d 0x0702001b 0x0703001c 0x0707008b 0x08040036
995ab502cbSMasahiro Yamada			0x0805002a 0x09050061 0x0907001d 0x0b00001a 0x0b010019
1005ab502cbSMasahiro Yamada			0x0b020028 0x0b030027 0x0b040035 0x0b050034 0x0c000044
1015ab502cbSMasahiro Yamada			0x0c010043 0x0c02000e 0x0c030004 0x0c040003 0x0c050067
1025ab502cbSMasahiro Yamada			0x0c0600d2 0x0c070077 0x0d00006e 0x0d01006f 0x0d030068
1035ab502cbSMasahiro Yamada			0x0d04006d 0x0d05006a 0x0d06006c 0x0d070069 0x0e000057
1045ab502cbSMasahiro Yamada			0x0e010058 0x0e020042 0x0e030010 0x0e04003e 0x0e05003d
1055ab502cbSMasahiro Yamada			0x0e060002 0x0e070041 0x0f000001 0x0f010029 0x0f02003f
1065ab502cbSMasahiro Yamada			0x0f03000f 0x0f04003b 0x0f05003c 0x0f06003a 0x0f070040
1075ab502cbSMasahiro Yamada			0x14000047 0x15000049 0x15010048 0x1502004b 0x1504004f
1085ab502cbSMasahiro Yamada			0x16010062 0x1602004d 0x1603004c 0x16040051 0x16050050
1095ab502cbSMasahiro Yamada			0x16070052 0x1b010037 0x1b03004a 0x1b04004e 0x1b050053
1105ab502cbSMasahiro Yamada			0x1c050073 0x1d030066 0x1d04006b 0x1d0500e0 0x1d060072
1115ab502cbSMasahiro Yamada			0x1d0700e1 0x1e000045 0x1e010046 0x1e020071
1125ab502cbSMasahiro Yamada			0x1f04008a>;
1135ab502cbSMasahiro Yamada		linux,fn-keymap = <0x05040002>;
1145ab502cbSMasahiro Yamada	};
1155ab502cbSMasahiro Yamada
1165ab502cbSMasahiro Yamada	emc@7000f400 {
1175ab502cbSMasahiro Yamada		emc-table@190000 {
1185ab502cbSMasahiro Yamada			reg = < 190000 >;
1195ab502cbSMasahiro Yamada			compatible = "nvidia,tegra20-emc-table";
1205ab502cbSMasahiro Yamada			clock-frequency = < 190000 >;
1215ab502cbSMasahiro Yamada			nvidia,emc-registers = < 0x0000000c 0x00000026
1225ab502cbSMasahiro Yamada				0x00000009 0x00000003 0x00000004 0x00000004
1235ab502cbSMasahiro Yamada				0x00000002 0x0000000c 0x00000003 0x00000003
1245ab502cbSMasahiro Yamada				0x00000002 0x00000001 0x00000004 0x00000005
1255ab502cbSMasahiro Yamada				0x00000004 0x00000009 0x0000000d 0x0000059f
1265ab502cbSMasahiro Yamada				0x00000000 0x00000003 0x00000003 0x00000003
1275ab502cbSMasahiro Yamada				0x00000003 0x00000001 0x0000000b 0x000000c8
1285ab502cbSMasahiro Yamada				0x00000003 0x00000007 0x00000004 0x0000000f
1295ab502cbSMasahiro Yamada				0x00000002 0x00000000 0x00000000 0x00000002
1305ab502cbSMasahiro Yamada				0x00000000 0x00000000 0x00000083 0xa06204ae
1315ab502cbSMasahiro Yamada				0x007dc010 0x00000000 0x00000000 0x00000000
1325ab502cbSMasahiro Yamada				0x00000000 0x00000000 0x00000000 0x00000000 >;
1335ab502cbSMasahiro Yamada		};
1345ab502cbSMasahiro Yamada		emc-table@380000 {
1355ab502cbSMasahiro Yamada			reg = < 380000 >;
1365ab502cbSMasahiro Yamada			compatible = "nvidia,tegra20-emc-table";
1375ab502cbSMasahiro Yamada			clock-frequency = < 380000 >;
1385ab502cbSMasahiro Yamada			nvidia,emc-registers = < 0x00000017 0x0000004b
1395ab502cbSMasahiro Yamada				0x00000012 0x00000006 0x00000004 0x00000005
1405ab502cbSMasahiro Yamada				0x00000003 0x0000000c 0x00000006 0x00000006
1415ab502cbSMasahiro Yamada				0x00000003 0x00000001 0x00000004 0x00000005
1425ab502cbSMasahiro Yamada				0x00000004 0x00000009 0x0000000d 0x00000b5f
1435ab502cbSMasahiro Yamada				0x00000000 0x00000003 0x00000003 0x00000006
1445ab502cbSMasahiro Yamada				0x00000006 0x00000001 0x00000011 0x000000c8
1455ab502cbSMasahiro Yamada				0x00000003 0x0000000e 0x00000007 0x0000000f
1465ab502cbSMasahiro Yamada				0x00000002 0x00000000 0x00000000 0x00000002
1475ab502cbSMasahiro Yamada				0x00000000 0x00000000 0x00000083 0xe044048b
1485ab502cbSMasahiro Yamada				0x007d8010 0x00000000 0x00000000 0x00000000
1495ab502cbSMasahiro Yamada				0x00000000 0x00000000 0x00000000 0x00000000 >;
1505ab502cbSMasahiro Yamada		};
1515ab502cbSMasahiro Yamada	};
1525ab502cbSMasahiro Yamada
1535ab502cbSMasahiro Yamada	usb@c5000000 {
154*2b2b50bcSSimon Glass		nvidia,vbus-gpio = <&gpio TEGRA_GPIO(D, 0) GPIO_ACTIVE_HIGH>;
1555ab502cbSMasahiro Yamada		dr_mode = "otg";
1565ab502cbSMasahiro Yamada	};
1575ab502cbSMasahiro Yamada
1585ab502cbSMasahiro Yamada	usb@c5004000 {
1595ab502cbSMasahiro Yamada		status = "disabled";
1605ab502cbSMasahiro Yamada	};
1615ab502cbSMasahiro Yamada
1625ab502cbSMasahiro Yamada	sdhci@c8000400 {
1635ab502cbSMasahiro Yamada		status = "okay";
164*2b2b50bcSSimon Glass		cd-gpios = <&gpio TEGRA_GPIO(I, 5) GPIO_ACTIVE_LOW>;
165*2b2b50bcSSimon Glass		wp-gpios = <&gpio TEGRA_GPIO(H, 1) GPIO_ACTIVE_HIGH>;
166*2b2b50bcSSimon Glass		power-gpios = <&gpio TEGRA_GPIO(I, 6) GPIO_ACTIVE_HIGH>;
1675ab502cbSMasahiro Yamada		bus-width = <4>;
1685ab502cbSMasahiro Yamada	};
1695ab502cbSMasahiro Yamada
1705ab502cbSMasahiro Yamada	sdhci@c8000600 {
1715ab502cbSMasahiro Yamada		status = "okay";
1725ab502cbSMasahiro Yamada		bus-width = <8>;
1735ab502cbSMasahiro Yamada	};
1745ab502cbSMasahiro Yamada
1755ab502cbSMasahiro Yamada	lcd_panel: panel {
1765ab502cbSMasahiro Yamada		/* Seaboard has 1366x768 */
1775ab502cbSMasahiro Yamada		clock = <70600000>;
1785ab502cbSMasahiro Yamada		xres = <1366>;
1795ab502cbSMasahiro Yamada		yres = <768>;
1805ab502cbSMasahiro Yamada		left-margin = <58>;
1815ab502cbSMasahiro Yamada		right-margin = <58>;
1825ab502cbSMasahiro Yamada		hsync-len = <58>;
1835ab502cbSMasahiro Yamada		lower-margin = <4>;
1845ab502cbSMasahiro Yamada		upper-margin = <4>;
1855ab502cbSMasahiro Yamada		vsync-len = <4>;
1865ab502cbSMasahiro Yamada		hsync-active-high;
1875ab502cbSMasahiro Yamada		nvidia,bits-per-pixel = <16>;
1885ab502cbSMasahiro Yamada		nvidia,pwm = <&pwm 2 0>;
189*2b2b50bcSSimon Glass		nvidia,backlight-enable-gpios = <&gpio TEGRA_GPIO(D, 4)
190*2b2b50bcSSimon Glass							GPIO_ACTIVE_HIGH>;
191*2b2b50bcSSimon Glass		nvidia,lvds-shutdown-gpios = <&gpio TEGRA_GPIO(B, 2)
192*2b2b50bcSSimon Glass							GPIO_ACTIVE_HIGH>;
193*2b2b50bcSSimon Glass		nvidia,backlight-vdd-gpios = <&gpio TEGRA_GPIO(W, 0)
194*2b2b50bcSSimon Glass							GPIO_ACTIVE_HIGH>;
195*2b2b50bcSSimon Glass		nvidia,panel-vdd-gpios = <&gpio TEGRA_GPIO(C, 6)
196*2b2b50bcSSimon Glass							GPIO_ACTIVE_HIGH>;
1975ab502cbSMasahiro Yamada		nvidia,panel-timings = <400 4 203 17 15>;
1985ab502cbSMasahiro Yamada	};
1995ab502cbSMasahiro Yamada};
200