/* * arch/arm64/boot/dts/tegra210-p3448-0002-p3449-0000-b00.dts * * Copyright (c) 2018-2019, NVIDIA CORPORATION. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; version 2 of the License. * * This program is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for * more details. * * You should have received a copy of the GNU General Public License along * with this program; if not, write to the Free Software Foundation, Inc., * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * */ #include "tegra210-porg-p3448-common.dtsi" #include "porg-platforms/tegra210-custom-pinmux.dtsi" #include "porg-platforms/tegra210-custom-gpio-default.dtsi" #include / { model = "Custom"; compatible = "pl,custom", "nvidia,jetson-nano", "nvidia,tegra210"; nvidia,dtsfilename = __FILE__; sdhci@700b0600 { /* SDMMC4 for EMMC */ status = "okay"; }; sdhci@700b0000 { /* SDMMC1 for SD card */ status = "disabled"; }; spi@70410000 { /* QSPI */ status = "disabled"; }; gpio@6000d000 { /* gpio-name for 40-pin header, gpio-name given as COL(10) x ROW(20) */ gpio-line-names = "", "", "", "", "", "", "", "", "", "", "", "", "SPI1_MOSI", "SPI1_MISO", "SPI1_SCK", "SPI1_CS0", "SPI0_MOSI", "SPI0_MISO", "SPI0_SCK", "SPI0_CS0", "SPI0_CS1", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "GPIO13", "", "", "", "", "", "", "", "", "", "", "", "UART1_RTS", "UART1_CTS", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "I2S0_FS", "I2S0_DIN", "I2S0_DOUT", "I2S0_SCLK", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "GPIO01", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "GPIO07", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "GPIO12", "", "", "", "", "", "GPIO11", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "GPIO09", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "SPI1_CS1", "", "", "", "", "", "", ""; }; host1x { dc@54240000 { status = "disabled"; }; dc@54200000 { status = "okay"; nvidia,dc-or-node = "/host1x/dsi"; nvidia,dc-connector = <&dsi>; /* DSI supplies */ avdd_dsi_csi-supply = <&max77620_sd3>; avdd_lcd-supply = <&battery_reg>; dvdd_lcd-supply = <&battery_reg>; vdd_lcd_bl_en-supply = <&battery_reg>; vdd_lcd_bl-supply = <&battery_reg>; }; dsi { nvidia,dsi-controller-vs = ; nvidia,active-panel = <&panel_p_wuxga_10_1>; nvidia,dsi-csi-loopback; status = "okay"; panel-p-wuxga-10-1 { status = "okay"; /* Only 2 lanes used on Porg */ nvidia,dsi-n-data-lanes = <2>; }; }; }; sor { status = "disabled"; dp-display { status = "disabled"; }; }; sor1 { status = "disabled"; hdmi-display { status = "disabled"; }; }; dpaux { status = "disabled"; }; dpaux1 { status = "disabled"; }; backlight { compatible = "pwm-backlight"; power-supply = <&battery_reg>; enable-gpios = <&gpio 169 0>; status = "okay"; panel-p-wuxga-10-1-bl { status = "okay"; pwms = <&tegra_pwm 0 40161>; }; }; };