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 34ee7d755aSSimon Glass host1x@50000000 { 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 }; 439e6866d3SSimon Glass 449e6866d3SSimon Glass dc@54240000 { 459e6866d3SSimon Glass status = "disabled"; 469e6866d3SSimon Glass }; 475ab502cbSMasahiro Yamada }; 485ab502cbSMasahiro Yamada 495ab502cbSMasahiro Yamada /* This is not used in U-Boot, but is expected to be in kernel .dts */ 505ab502cbSMasahiro Yamada i2c@7000d000 { 51ee7d755aSSimon Glass status = "okay"; 525ab502cbSMasahiro Yamada clock-frequency = <100000>; 535ab502cbSMasahiro Yamada pmic@34 { 545ab502cbSMasahiro Yamada compatible = "ti,tps6586x"; 555ab502cbSMasahiro Yamada reg = <0x34>; 565ab502cbSMasahiro Yamada 575ab502cbSMasahiro Yamada clk_32k: clock { 585ab502cbSMasahiro Yamada compatible = "fixed-clock"; 595ab502cbSMasahiro Yamada /* 605ab502cbSMasahiro Yamada * leave out for now due to CPP: 615ab502cbSMasahiro Yamada * #clock-cells = <0>; 625ab502cbSMasahiro Yamada */ 635ab502cbSMasahiro Yamada clock-frequency = <32768>; 645ab502cbSMasahiro Yamada }; 655ab502cbSMasahiro Yamada }; 665ab502cbSMasahiro Yamada }; 675ab502cbSMasahiro Yamada 685ab502cbSMasahiro Yamada serial@70006300 { 695ab502cbSMasahiro Yamada clock-frequency = < 216000000 >; 705ab502cbSMasahiro Yamada }; 715ab502cbSMasahiro Yamada 725ab502cbSMasahiro Yamada nand-controller@70008000 { 732b2b50bcSSimon Glass nvidia,wp-gpios = <&gpio TEGRA_GPIO(H, 3) GPIO_ACTIVE_HIGH>; 745ab502cbSMasahiro Yamada nvidia,width = <8>; 755ab502cbSMasahiro Yamada nvidia,timing = <26 100 20 80 20 10 12 10 70>; 765ab502cbSMasahiro Yamada nand@0 { 775ab502cbSMasahiro Yamada reg = <0>; 785ab502cbSMasahiro Yamada compatible = "hynix,hy27uf4g2b", "nand-flash"; 795ab502cbSMasahiro Yamada }; 805ab502cbSMasahiro Yamada }; 815ab502cbSMasahiro Yamada 825ab502cbSMasahiro Yamada i2c@7000c000 { 83ee7d755aSSimon Glass status = "okay"; 845ab502cbSMasahiro Yamada clock-frequency = <100000>; 855ab502cbSMasahiro Yamada }; 865ab502cbSMasahiro Yamada 875ab502cbSMasahiro Yamada i2c@7000c400 { 88ee7d755aSSimon Glass status = "okay"; 895ab502cbSMasahiro Yamada }; 905ab502cbSMasahiro Yamada 915ab502cbSMasahiro Yamada i2c@7000c500 { 92ee7d755aSSimon Glass status = "okay"; 935ab502cbSMasahiro Yamada clock-frequency = <100000>; 945ab502cbSMasahiro Yamada }; 955ab502cbSMasahiro Yamada 965ab502cbSMasahiro Yamada kbc@7000e200 { 97ee7d755aSSimon Glass status = "okay"; 985ab502cbSMasahiro Yamada linux,keymap = <0x00020011 0x0003001f 0x0004001e 0x0005002c 995ab502cbSMasahiro Yamada 0x000701d0 0x0107007d 0x02060064 0x02070038 0x03000006 1005ab502cbSMasahiro Yamada 0x03010005 0x03020013 0x03030012 0x03040021 0x03050020 1015ab502cbSMasahiro Yamada 0x0306002d 0x04000008 0x04010007 0x04020014 0x04030023 1025ab502cbSMasahiro Yamada 0x04040022 0x0405002f 0x0406002e 0x04070039 0x0500000a 1035ab502cbSMasahiro Yamada 0x05010009 0x05020016 0x05030015 0x05040024 0x05050031 1045ab502cbSMasahiro Yamada 0x05060030 0x0507002b 0x0600000c 0x0601000b 0x06020018 1055ab502cbSMasahiro Yamada 0x06030017 0x06040026 0x06050025 0x06060033 0x06070032 1065ab502cbSMasahiro Yamada 0x0701000d 0x0702001b 0x0703001c 0x0707008b 0x08040036 1075ab502cbSMasahiro Yamada 0x0805002a 0x09050061 0x0907001d 0x0b00001a 0x0b010019 1085ab502cbSMasahiro Yamada 0x0b020028 0x0b030027 0x0b040035 0x0b050034 0x0c000044 1095ab502cbSMasahiro Yamada 0x0c010043 0x0c02000e 0x0c030004 0x0c040003 0x0c050067 1105ab502cbSMasahiro Yamada 0x0c0600d2 0x0c070077 0x0d00006e 0x0d01006f 0x0d030068 1115ab502cbSMasahiro Yamada 0x0d04006d 0x0d05006a 0x0d06006c 0x0d070069 0x0e000057 1125ab502cbSMasahiro Yamada 0x0e010058 0x0e020042 0x0e030010 0x0e04003e 0x0e05003d 1135ab502cbSMasahiro Yamada 0x0e060002 0x0e070041 0x0f000001 0x0f010029 0x0f02003f 1145ab502cbSMasahiro Yamada 0x0f03000f 0x0f04003b 0x0f05003c 0x0f06003a 0x0f070040 1155ab502cbSMasahiro Yamada 0x14000047 0x15000049 0x15010048 0x1502004b 0x1504004f 1165ab502cbSMasahiro Yamada 0x16010062 0x1602004d 0x1603004c 0x16040051 0x16050050 1175ab502cbSMasahiro Yamada 0x16070052 0x1b010037 0x1b03004a 0x1b04004e 0x1b050053 1185ab502cbSMasahiro Yamada 0x1c050073 0x1d030066 0x1d04006b 0x1d0500e0 0x1d060072 1195ab502cbSMasahiro Yamada 0x1d0700e1 0x1e000045 0x1e010046 0x1e020071 1205ab502cbSMasahiro Yamada 0x1f04008a>; 1215ab502cbSMasahiro Yamada linux,fn-keymap = <0x05040002>; 1225ab502cbSMasahiro Yamada }; 1235ab502cbSMasahiro Yamada 1245ab502cbSMasahiro Yamada emc@7000f400 { 125ee7d755aSSimon Glass #address-cells = <1>; 126ee7d755aSSimon Glass #size-cells = <0>; 1275ab502cbSMasahiro Yamada emc-table@190000 { 1285ab502cbSMasahiro Yamada reg = < 190000 >; 1295ab502cbSMasahiro Yamada compatible = "nvidia,tegra20-emc-table"; 1305ab502cbSMasahiro Yamada clock-frequency = < 190000 >; 1315ab502cbSMasahiro Yamada nvidia,emc-registers = < 0x0000000c 0x00000026 1325ab502cbSMasahiro Yamada 0x00000009 0x00000003 0x00000004 0x00000004 1335ab502cbSMasahiro Yamada 0x00000002 0x0000000c 0x00000003 0x00000003 1345ab502cbSMasahiro Yamada 0x00000002 0x00000001 0x00000004 0x00000005 1355ab502cbSMasahiro Yamada 0x00000004 0x00000009 0x0000000d 0x0000059f 1365ab502cbSMasahiro Yamada 0x00000000 0x00000003 0x00000003 0x00000003 1375ab502cbSMasahiro Yamada 0x00000003 0x00000001 0x0000000b 0x000000c8 1385ab502cbSMasahiro Yamada 0x00000003 0x00000007 0x00000004 0x0000000f 1395ab502cbSMasahiro Yamada 0x00000002 0x00000000 0x00000000 0x00000002 1405ab502cbSMasahiro Yamada 0x00000000 0x00000000 0x00000083 0xa06204ae 1415ab502cbSMasahiro Yamada 0x007dc010 0x00000000 0x00000000 0x00000000 1425ab502cbSMasahiro Yamada 0x00000000 0x00000000 0x00000000 0x00000000 >; 1435ab502cbSMasahiro Yamada }; 1445ab502cbSMasahiro Yamada emc-table@380000 { 1455ab502cbSMasahiro Yamada reg = < 380000 >; 1465ab502cbSMasahiro Yamada compatible = "nvidia,tegra20-emc-table"; 1475ab502cbSMasahiro Yamada clock-frequency = < 380000 >; 1485ab502cbSMasahiro Yamada nvidia,emc-registers = < 0x00000017 0x0000004b 1495ab502cbSMasahiro Yamada 0x00000012 0x00000006 0x00000004 0x00000005 1505ab502cbSMasahiro Yamada 0x00000003 0x0000000c 0x00000006 0x00000006 1515ab502cbSMasahiro Yamada 0x00000003 0x00000001 0x00000004 0x00000005 1525ab502cbSMasahiro Yamada 0x00000004 0x00000009 0x0000000d 0x00000b5f 1535ab502cbSMasahiro Yamada 0x00000000 0x00000003 0x00000003 0x00000006 1545ab502cbSMasahiro Yamada 0x00000006 0x00000001 0x00000011 0x000000c8 1555ab502cbSMasahiro Yamada 0x00000003 0x0000000e 0x00000007 0x0000000f 1565ab502cbSMasahiro Yamada 0x00000002 0x00000000 0x00000000 0x00000002 1575ab502cbSMasahiro Yamada 0x00000000 0x00000000 0x00000083 0xe044048b 1585ab502cbSMasahiro Yamada 0x007d8010 0x00000000 0x00000000 0x00000000 1595ab502cbSMasahiro Yamada 0x00000000 0x00000000 0x00000000 0x00000000 >; 1605ab502cbSMasahiro Yamada }; 1615ab502cbSMasahiro Yamada }; 1625ab502cbSMasahiro Yamada 1635ab502cbSMasahiro Yamada usb@c5000000 { 164ee7d755aSSimon Glass status = "okay"; 1652b2b50bcSSimon Glass nvidia,vbus-gpio = <&gpio TEGRA_GPIO(D, 0) GPIO_ACTIVE_HIGH>; 1665ab502cbSMasahiro Yamada dr_mode = "otg"; 1675ab502cbSMasahiro Yamada }; 1685ab502cbSMasahiro Yamada 1695ab502cbSMasahiro Yamada usb@c5004000 { 1705ab502cbSMasahiro Yamada status = "disabled"; 1715ab502cbSMasahiro Yamada }; 1725ab502cbSMasahiro Yamada 173ee7d755aSSimon Glass usb@c5008000 { 174ee7d755aSSimon Glass status = "okay"; 175ee7d755aSSimon Glass }; 176ee7d755aSSimon Glass 1775ab502cbSMasahiro Yamada sdhci@c8000400 { 1785ab502cbSMasahiro Yamada status = "okay"; 1792b2b50bcSSimon Glass cd-gpios = <&gpio TEGRA_GPIO(I, 5) GPIO_ACTIVE_LOW>; 1802b2b50bcSSimon Glass wp-gpios = <&gpio TEGRA_GPIO(H, 1) GPIO_ACTIVE_HIGH>; 1812b2b50bcSSimon Glass power-gpios = <&gpio TEGRA_GPIO(I, 6) GPIO_ACTIVE_HIGH>; 1825ab502cbSMasahiro Yamada bus-width = <4>; 1835ab502cbSMasahiro Yamada }; 1845ab502cbSMasahiro Yamada 1855ab502cbSMasahiro Yamada sdhci@c8000600 { 1865ab502cbSMasahiro Yamada status = "okay"; 1875ab502cbSMasahiro Yamada bus-width = <8>; 1885ab502cbSMasahiro Yamada }; 1895ab502cbSMasahiro Yamada 190ee7d755aSSimon Glass clocks { 191ee7d755aSSimon Glass compatible = "simple-bus"; 192ee7d755aSSimon Glass #address-cells = <1>; 193ee7d755aSSimon Glass #size-cells = <0>; 194ee7d755aSSimon Glass 195ee7d755aSSimon Glass clk32k_in: clock@0 { 196ee7d755aSSimon Glass compatible = "fixed-clock"; 197ee7d755aSSimon Glass reg=<0>; 198ee7d755aSSimon Glass #clock-cells = <0>; 199ee7d755aSSimon Glass clock-frequency = <32768>; 200ee7d755aSSimon Glass }; 201ee7d755aSSimon Glass }; 202ee7d755aSSimon Glass 203*91c08afeSSimon Glass pwm: pwm@7000a000 { 204*91c08afeSSimon Glass status = "okay"; 205*91c08afeSSimon Glass }; 206*91c08afeSSimon Glass 2075ab502cbSMasahiro Yamada lcd_panel: panel { 2085ab502cbSMasahiro Yamada /* Seaboard has 1366x768 */ 2095ab502cbSMasahiro Yamada clock = <70600000>; 2105ab502cbSMasahiro Yamada xres = <1366>; 2115ab502cbSMasahiro Yamada yres = <768>; 2125ab502cbSMasahiro Yamada left-margin = <58>; 2135ab502cbSMasahiro Yamada right-margin = <58>; 2145ab502cbSMasahiro Yamada hsync-len = <58>; 2155ab502cbSMasahiro Yamada lower-margin = <4>; 2165ab502cbSMasahiro Yamada upper-margin = <4>; 2175ab502cbSMasahiro Yamada vsync-len = <4>; 2185ab502cbSMasahiro Yamada hsync-active-high; 2195ab502cbSMasahiro Yamada nvidia,bits-per-pixel = <16>; 2205ab502cbSMasahiro Yamada nvidia,pwm = <&pwm 2 0>; 2212b2b50bcSSimon Glass nvidia,backlight-enable-gpios = <&gpio TEGRA_GPIO(D, 4) 2222b2b50bcSSimon Glass GPIO_ACTIVE_HIGH>; 2232b2b50bcSSimon Glass nvidia,lvds-shutdown-gpios = <&gpio TEGRA_GPIO(B, 2) 2242b2b50bcSSimon Glass GPIO_ACTIVE_HIGH>; 2252b2b50bcSSimon Glass nvidia,backlight-vdd-gpios = <&gpio TEGRA_GPIO(W, 0) 2262b2b50bcSSimon Glass GPIO_ACTIVE_HIGH>; 2272b2b50bcSSimon Glass nvidia,panel-vdd-gpios = <&gpio TEGRA_GPIO(C, 6) 2282b2b50bcSSimon Glass GPIO_ACTIVE_HIGH>; 2295ab502cbSMasahiro Yamada nvidia,panel-timings = <400 4 203 17 15>; 2305ab502cbSMasahiro Yamada }; 2315ab502cbSMasahiro Yamada}; 232