forked from rrcarlosr/Jetpack
153 lines
4.9 KiB
Plaintext
153 lines
4.9 KiB
Plaintext
/*
|
|
* Copyright (c) 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.
|
|
*/
|
|
#include <dt-bindings/gpio/tegra194-gpio.h>
|
|
#include "dt-bindings/input/input.h"
|
|
#include "tegra194-fixed-regulator-p3509-0000-a00.dtsi"
|
|
#include "tegra194-p3509-disp.dtsi"
|
|
#include "tegra194-audio-p3668.dtsi"
|
|
#include "tegra194-super-module-e2614-p3509.dtsi"
|
|
#include "tegra194-camera-jakku-rbpcv2-imx219.dtsi"
|
|
/ {
|
|
gpio-keys {
|
|
compatible = "gpio-keys";
|
|
gpio-keys,name = "gpio-keys";
|
|
|
|
forcerecovery {
|
|
label = "force-recovery";
|
|
gpios = <&tegra_main_gpio TEGRA194_MAIN_GPIO(G, 0) GPIO_ACTIVE_LOW>;
|
|
linux,code = <BTN_1>;
|
|
};
|
|
|
|
power_key {
|
|
label = "power-key";
|
|
gpios = <&tegra_aon_gpio TEGRA194_AON_GPIO(EE, 4) GPIO_ACTIVE_LOW>;
|
|
linux,code = <KEY_POWER>;
|
|
gpio-key,wakeup;
|
|
};
|
|
};
|
|
eeprom-manager {
|
|
data-size = <0x100>;
|
|
bus@0 {
|
|
i2c-bus = <&gen1_i2c>;
|
|
eeprom@1 {
|
|
slave-address = <0x57>;
|
|
label = "cvb";
|
|
};
|
|
};
|
|
|
|
bus@1 {
|
|
i2c-bus = <&gen2_i2c>;
|
|
eeprom@1 {
|
|
slave-address = <0x50>;
|
|
label = "super-module";
|
|
};
|
|
};
|
|
};
|
|
pwm-fan {
|
|
pwms = <&tegra_pwm6 0 45334>;
|
|
vdd-fan-supply = <&p3509_vdd_fan>;
|
|
profiles {
|
|
default = "quiet";
|
|
quiet {
|
|
state_cap = <4>;
|
|
active_pwm = <0 130 160 200 255 255 255 255 255 255>;
|
|
};
|
|
cool {
|
|
state_cap = <4>;
|
|
active_pwm = <0 140 170 200 255 255 255 255 255 255>;
|
|
};
|
|
};
|
|
};
|
|
thermal-fan-est {
|
|
profiles {
|
|
default = "quiet";
|
|
quiet {
|
|
active_trip_temps = <0 46000 60000 68000 76000
|
|
140000 150000 160000 170000 180000>;
|
|
active_hysteresis = <0 8000 8000 7000 7000
|
|
0 0 0 0 0>;
|
|
};
|
|
cool {
|
|
active_trip_temps = <0 35000 45000 53000 61000
|
|
140000 150000 160000 170000 180000>;
|
|
active_hysteresis = <0 8000 8000 7000 7000
|
|
0 0 0 0 0>;
|
|
};
|
|
};
|
|
};
|
|
serial@3110000 {
|
|
status = "okay";
|
|
};
|
|
tachometer@39c0000 {
|
|
status = "okay";
|
|
};
|
|
pwm@3280000 {
|
|
status = "okay";
|
|
};
|
|
|
|
pwm@32c0000 {
|
|
status = "okay";
|
|
};
|
|
|
|
pwm@32d0000 {
|
|
status = "okay";
|
|
};
|
|
|
|
pwm@32f0000 {
|
|
status = "okay";
|
|
};
|
|
spi@c260000 {
|
|
status = "disabled";
|
|
};
|
|
|
|
spi@3300000 {
|
|
status = "disabled";
|
|
};
|
|
|
|
gpio@2200000 {
|
|
/* gpio-name for 40-pin header, gpio-name given as COL(10) x ROW(24),
|
|
Tegra-GPIO starts from 288 */
|
|
gpio-line-names = "", "", "", "", "", "", "", "", "", "",
|
|
"", "", "", "", "", "", "", "", "", "",
|
|
"", "", "", "", "", "", "", "", "", "",
|
|
"", "", "", "", "", "", "", "", "", "",
|
|
"", "", "", "", "", "", "", "", "", "",
|
|
"", "", "", "", "", "", "", "", "", "",
|
|
"", "", "", "", "", "", "", "", "", "",
|
|
"", "", "", "", "", "", "", "", "", "",
|
|
"", "", "", "", "", "", "", "", "", "",
|
|
"", "", "", "", "", "", "", "", "", "",
|
|
"", "", "", "", "", "GPIO13", "", "", "", "",
|
|
"", "", "", "", "", "", "", "", "", "",
|
|
"", "", "", "", "", "", "", "", "", "",
|
|
"", "", "", "GPIO01", "GPIO11", "", "GPIO07", "", "", "",
|
|
"UART1_RTS", "UART1_CTS", "", "", "", "", "", "", "GPIO09", "",
|
|
"", "", "", "", "", "", "", "I2S0_SCLK", "I2S0_DOUT", "I2S0_DIN",
|
|
"I2S0_FS", "", "", "", "", "", "", "", "", "",
|
|
"", "", "", "", "", "", "", "", "", "",
|
|
"", "", "", "", "", "", "", "", "", "",
|
|
"", "", "SPI1_SCK", "SPI1_MISO", "SPI1_MOSI", "SPI1_CS0", "SPI1_CS1", "", "", "",
|
|
"", "", "", "SPI0_SCK", "SPI0_MISO", "SPI0_MOSI", "SPI0_CS0", "SPI0_CS1", "", "",
|
|
"", "", "", "", "", "", "", "", "", "",
|
|
"", "", "", "", "", "", "", "", "", "",
|
|
"", "", "", "", "", "", "", "", "", "";
|
|
};
|
|
|
|
gpio@c2f0000 {
|
|
/* gpio-name for 40-pin header, gpio-name given as COL(10) x ROW(2),
|
|
Tegra-AON-GPIO starts from 248 */
|
|
gpio-line-names = "", "", "", "", "", "", "", "", "", "",
|
|
"", "", "", "", "", "", "", "", "", "", "GPIO12";
|
|
};
|
|
};
|