2014-12-18 20:58:20 +07:00
|
|
|
#include <dt-bindings/input/input.h>
|
2012-10-18 05:38:21 +07:00
|
|
|
#include "tegra30.dtsi"
|
2011-12-14 22:03:26 +07:00
|
|
|
|
2012-08-09 18:00:38 +07:00
|
|
|
/**
|
|
|
|
* This file contains common DT entry for all fab version of Cardhu.
|
|
|
|
* There is multiple fab version of Cardhu starting from A01 to A07.
|
|
|
|
* Cardhu fab version A01 and A03 are not supported. Cardhu fab version
|
|
|
|
* A02 will have different sets of GPIOs for fixed regulator compare to
|
|
|
|
* Cardhu fab version A04. The Cardhu fab version A05, A06, A07 are
|
|
|
|
* compatible with fab version A04. Based on Cardhu fab version, the
|
|
|
|
* related dts file need to be chosen like for Cardhu fab version A02,
|
|
|
|
* use tegra30-cardhu-a02.dts, Cardhu fab version A04 and later, use
|
|
|
|
* tegra30-cardhu-a04.dts.
|
|
|
|
* The identification of board is done in two ways, by looking the sticker
|
|
|
|
* on PCB and by reading board id eeprom.
|
2015-04-11 04:35:56 +07:00
|
|
|
* The sticker will have number like 600-81291-1000-002 C.3. In this 4th
|
2012-08-09 18:00:38 +07:00
|
|
|
* number is the fab version like here it is 002 and hence fab version A02.
|
|
|
|
* The (downstream internal) U-Boot of Cardhu display the board-id as
|
|
|
|
* follows:
|
|
|
|
* BoardID: 0C5B, SKU: 0A01, Fab: 02, Rev: 45.00
|
|
|
|
* In this Fab version is 02 i.e. A02.
|
|
|
|
* The BoardID I2C eeprom is interfaced through i2c5 (pwr_i2c address 0x56).
|
|
|
|
* The location 0x8 of this eeprom contains the Fab version. It is 1 byte
|
|
|
|
* wide.
|
|
|
|
*/
|
|
|
|
|
2011-12-14 22:03:26 +07:00
|
|
|
/ {
|
|
|
|
model = "NVIDIA Tegra30 Cardhu evaluation board";
|
|
|
|
compatible = "nvidia,cardhu", "nvidia,tegra30";
|
|
|
|
|
2013-12-10 04:43:59 +07:00
|
|
|
aliases {
|
2014-02-14 07:18:26 +07:00
|
|
|
rtc0 = "/i2c@7000d000/tps65911@2d";
|
2013-12-10 04:43:59 +07:00
|
|
|
rtc1 = "/rtc@7000e000";
|
2014-11-12 03:49:30 +07:00
|
|
|
serial0 = &uarta;
|
|
|
|
serial1 = &uartc;
|
2013-12-10 04:43:59 +07:00
|
|
|
};
|
|
|
|
|
2011-12-14 22:03:26 +07:00
|
|
|
memory {
|
2012-05-12 05:11:38 +07:00
|
|
|
reg = <0x80000000 0x40000000>;
|
2011-12-14 22:03:26 +07:00
|
|
|
};
|
|
|
|
|
2013-11-26 07:53:16 +07:00
|
|
|
pcie-controller@00003000 {
|
2013-08-09 21:49:27 +07:00
|
|
|
status = "okay";
|
2014-05-28 21:49:12 +07:00
|
|
|
|
|
|
|
/* AVDD_PEXA and VDD_PEXA inputs are grounded on Cardhu. */
|
|
|
|
avdd-pexb-supply = <&ldo1_reg>;
|
|
|
|
vdd-pexb-supply = <&ldo1_reg>;
|
|
|
|
avdd-pex-pll-supply = <&ldo1_reg>;
|
|
|
|
hvdd-pex-supply = <&pex_hvdd_3v3_reg>;
|
|
|
|
vddio-pex-ctl-supply = <&sys_3v3_reg>;
|
|
|
|
avdd-plle-supply = <&ldo2_reg>;
|
|
|
|
|
2013-08-09 21:49:27 +07:00
|
|
|
pci@1,0 {
|
|
|
|
nvidia,num-lanes = <4>;
|
|
|
|
};
|
|
|
|
|
|
|
|
pci@2,0 {
|
|
|
|
nvidia,num-lanes = <1>;
|
|
|
|
};
|
|
|
|
|
|
|
|
pci@3,0 {
|
|
|
|
status = "okay";
|
|
|
|
nvidia,num-lanes = <1>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2013-12-19 22:59:26 +07:00
|
|
|
host1x@50000000 {
|
|
|
|
dc@54200000 {
|
|
|
|
rgb {
|
|
|
|
status = "okay";
|
|
|
|
|
|
|
|
nvidia,panel = <&panel>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2013-11-26 07:53:16 +07:00
|
|
|
pinmux@70000868 {
|
2012-03-14 02:28:02 +07:00
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&state_default>;
|
|
|
|
|
|
|
|
state_default: pinmux {
|
|
|
|
sdmmc1_clk_pz0 {
|
|
|
|
nvidia,pins = "sdmmc1_clk_pz0";
|
|
|
|
nvidia,function = "sdmmc1";
|
2013-12-05 17:44:09 +07:00
|
|
|
nvidia,pull = <TEGRA_PIN_PULL_NONE>;
|
|
|
|
nvidia,tristate = <TEGRA_PIN_DISABLE>;
|
2012-03-14 02:28:02 +07:00
|
|
|
};
|
|
|
|
sdmmc1_cmd_pz1 {
|
|
|
|
nvidia,pins = "sdmmc1_cmd_pz1",
|
|
|
|
"sdmmc1_dat0_py7",
|
|
|
|
"sdmmc1_dat1_py6",
|
|
|
|
"sdmmc1_dat2_py5",
|
|
|
|
"sdmmc1_dat3_py4";
|
|
|
|
nvidia,function = "sdmmc1";
|
2013-12-05 17:44:09 +07:00
|
|
|
nvidia,pull = <TEGRA_PIN_PULL_UP>;
|
|
|
|
nvidia,tristate = <TEGRA_PIN_DISABLE>;
|
2012-03-14 02:28:02 +07:00
|
|
|
};
|
2012-09-21 15:54:59 +07:00
|
|
|
sdmmc3_clk_pa6 {
|
|
|
|
nvidia,pins = "sdmmc3_clk_pa6";
|
|
|
|
nvidia,function = "sdmmc3";
|
2013-12-05 17:44:09 +07:00
|
|
|
nvidia,pull = <TEGRA_PIN_PULL_NONE>;
|
|
|
|
nvidia,tristate = <TEGRA_PIN_DISABLE>;
|
2012-09-21 15:54:59 +07:00
|
|
|
};
|
|
|
|
sdmmc3_cmd_pa7 {
|
|
|
|
nvidia,pins = "sdmmc3_cmd_pa7",
|
|
|
|
"sdmmc3_dat0_pb7",
|
|
|
|
"sdmmc3_dat1_pb6",
|
|
|
|
"sdmmc3_dat2_pb5",
|
|
|
|
"sdmmc3_dat3_pb4";
|
|
|
|
nvidia,function = "sdmmc3";
|
2013-12-05 17:44:09 +07:00
|
|
|
nvidia,pull = <TEGRA_PIN_PULL_UP>;
|
|
|
|
nvidia,tristate = <TEGRA_PIN_DISABLE>;
|
2012-09-21 15:54:59 +07:00
|
|
|
};
|
2012-03-14 02:28:02 +07:00
|
|
|
sdmmc4_clk_pcc4 {
|
|
|
|
nvidia,pins = "sdmmc4_clk_pcc4",
|
|
|
|
"sdmmc4_rst_n_pcc3";
|
|
|
|
nvidia,function = "sdmmc4";
|
2013-12-05 17:44:09 +07:00
|
|
|
nvidia,pull = <TEGRA_PIN_PULL_NONE>;
|
|
|
|
nvidia,tristate = <TEGRA_PIN_DISABLE>;
|
2012-03-14 02:28:02 +07:00
|
|
|
};
|
|
|
|
sdmmc4_dat0_paa0 {
|
|
|
|
nvidia,pins = "sdmmc4_dat0_paa0",
|
|
|
|
"sdmmc4_dat1_paa1",
|
|
|
|
"sdmmc4_dat2_paa2",
|
|
|
|
"sdmmc4_dat3_paa3",
|
|
|
|
"sdmmc4_dat4_paa4",
|
|
|
|
"sdmmc4_dat5_paa5",
|
|
|
|
"sdmmc4_dat6_paa6",
|
|
|
|
"sdmmc4_dat7_paa7";
|
|
|
|
nvidia,function = "sdmmc4";
|
2013-12-05 17:44:09 +07:00
|
|
|
nvidia,pull = <TEGRA_PIN_PULL_UP>;
|
|
|
|
nvidia,tristate = <TEGRA_PIN_DISABLE>;
|
2012-03-14 02:28:02 +07:00
|
|
|
};
|
2012-03-28 01:41:37 +07:00
|
|
|
dap2_fs_pa2 {
|
|
|
|
nvidia,pins = "dap2_fs_pa2",
|
|
|
|
"dap2_sclk_pa3",
|
|
|
|
"dap2_din_pa4",
|
|
|
|
"dap2_dout_pa5";
|
|
|
|
nvidia,function = "i2s1";
|
2013-12-05 17:44:09 +07:00
|
|
|
nvidia,pull = <TEGRA_PIN_PULL_NONE>;
|
|
|
|
nvidia,tristate = <TEGRA_PIN_DISABLE>;
|
2012-03-28 01:41:37 +07:00
|
|
|
};
|
2012-09-21 15:54:59 +07:00
|
|
|
sdio3 {
|
|
|
|
nvidia,pins = "drive_sdio3";
|
2013-12-05 17:44:09 +07:00
|
|
|
nvidia,high-speed-mode = <TEGRA_PIN_DISABLE>;
|
|
|
|
nvidia,schmitt = <TEGRA_PIN_DISABLE>;
|
2012-09-21 15:54:59 +07:00
|
|
|
nvidia,pull-down-strength = <46>;
|
|
|
|
nvidia,pull-up-strength = <42>;
|
2013-12-05 17:44:09 +07:00
|
|
|
nvidia,slew-rate-rising = <TEGRA_PIN_SLEW_RATE_FAST>;
|
|
|
|
nvidia,slew-rate-falling = <TEGRA_PIN_SLEW_RATE_FAST>;
|
2012-09-21 15:54:59 +07:00
|
|
|
};
|
2013-01-16 20:06:12 +07:00
|
|
|
uart3_txd_pw6 {
|
|
|
|
nvidia,pins = "uart3_txd_pw6",
|
|
|
|
"uart3_cts_n_pa1",
|
|
|
|
"uart3_rts_n_pc0",
|
|
|
|
"uart3_rxd_pw7";
|
|
|
|
nvidia,function = "uartc";
|
2013-12-05 17:44:09 +07:00
|
|
|
nvidia,pull = <TEGRA_PIN_PULL_NONE>;
|
|
|
|
nvidia,tristate = <TEGRA_PIN_DISABLE>;
|
2013-01-16 20:06:12 +07:00
|
|
|
};
|
2012-03-14 02:28:02 +07:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2011-12-14 22:03:26 +07:00
|
|
|
serial@70006000 {
|
2012-05-12 06:32:56 +07:00
|
|
|
status = "okay";
|
2011-12-14 22:03:26 +07:00
|
|
|
};
|
|
|
|
|
2013-01-16 20:06:12 +07:00
|
|
|
serial@70006200 {
|
|
|
|
compatible = "nvidia,tegra30-hsuart";
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
2013-12-19 22:59:26 +07:00
|
|
|
pwm@7000a000 {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
panelddc: i2c@7000c000 {
|
2012-05-12 06:32:56 +07:00
|
|
|
status = "okay";
|
2011-12-14 22:03:26 +07:00
|
|
|
clock-frequency = <100000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
i2c@7000c400 {
|
2012-05-12 06:32:56 +07:00
|
|
|
status = "okay";
|
2011-12-14 22:03:26 +07:00
|
|
|
clock-frequency = <100000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
i2c@7000c500 {
|
2012-05-12 06:32:56 +07:00
|
|
|
status = "okay";
|
2011-12-14 22:03:26 +07:00
|
|
|
clock-frequency = <100000>;
|
2012-04-23 19:11:36 +07:00
|
|
|
|
|
|
|
/* ALS and Proximity sensor */
|
|
|
|
isl29028@44 {
|
2014-12-17 04:21:16 +07:00
|
|
|
compatible = "isil,isl29028";
|
2012-04-23 19:11:36 +07:00
|
|
|
reg = <0x44>;
|
|
|
|
interrupt-parent = <&gpio>;
|
2013-02-14 02:51:51 +07:00
|
|
|
interrupts = <TEGRA_GPIO(L, 0) IRQ_TYPE_LEVEL_HIGH>;
|
2012-04-23 19:11:36 +07:00
|
|
|
};
|
2014-02-08 06:54:58 +07:00
|
|
|
|
|
|
|
i2cmux@70 {
|
|
|
|
compatible = "nxp,pca9546";
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
reg = <0x70>;
|
|
|
|
};
|
2011-12-14 22:03:26 +07:00
|
|
|
};
|
|
|
|
|
|
|
|
i2c@7000c700 {
|
2012-05-12 06:32:56 +07:00
|
|
|
status = "okay";
|
2011-12-14 22:03:26 +07:00
|
|
|
clock-frequency = <100000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
i2c@7000d000 {
|
2012-05-12 06:32:56 +07:00
|
|
|
status = "okay";
|
2011-12-14 22:03:26 +07:00
|
|
|
clock-frequency = <100000>;
|
2012-03-28 01:41:37 +07:00
|
|
|
|
|
|
|
wm8903: wm8903@1a {
|
|
|
|
compatible = "wlf,wm8903";
|
|
|
|
reg = <0x1a>;
|
|
|
|
interrupt-parent = <&gpio>;
|
2013-02-14 02:51:51 +07:00
|
|
|
interrupts = <TEGRA_GPIO(W, 3) IRQ_TYPE_LEVEL_HIGH>;
|
2012-03-28 01:41:37 +07:00
|
|
|
|
|
|
|
gpio-controller;
|
|
|
|
#gpio-cells = <2>;
|
|
|
|
|
|
|
|
micdet-cfg = <0>;
|
|
|
|
micdet-delay = <100>;
|
|
|
|
gpio-cfg = <0xffffffff 0xffffffff 0 0xffffffff 0xffffffff>;
|
|
|
|
};
|
2012-05-11 03:38:45 +07:00
|
|
|
|
2012-08-09 18:00:37 +07:00
|
|
|
pmic: tps65911@2d {
|
|
|
|
compatible = "ti,tps65911";
|
|
|
|
reg = <0x2d>;
|
|
|
|
|
2013-02-14 02:51:51 +07:00
|
|
|
interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;
|
2012-08-09 18:00:37 +07:00
|
|
|
#interrupt-cells = <2>;
|
|
|
|
interrupt-controller;
|
|
|
|
|
2012-09-12 00:42:26 +07:00
|
|
|
ti,system-power-controller;
|
|
|
|
|
2012-08-09 18:00:37 +07:00
|
|
|
#gpio-cells = <2>;
|
|
|
|
gpio-controller;
|
|
|
|
|
|
|
|
vcc1-supply = <&vdd_ac_bat_reg>;
|
|
|
|
vcc2-supply = <&vdd_ac_bat_reg>;
|
|
|
|
vcc3-supply = <&vio_reg>;
|
2012-08-09 18:00:39 +07:00
|
|
|
vcc4-supply = <&vdd_5v0_reg>;
|
2012-08-09 18:00:37 +07:00
|
|
|
vcc5-supply = <&vdd_ac_bat_reg>;
|
|
|
|
vcc6-supply = <&vdd2_reg>;
|
|
|
|
vcc7-supply = <&vdd_ac_bat_reg>;
|
|
|
|
vccio-supply = <&vdd_ac_bat_reg>;
|
|
|
|
|
|
|
|
regulators {
|
2012-09-21 06:04:06 +07:00
|
|
|
vdd1_reg: vdd1 {
|
2012-08-09 18:00:37 +07:00
|
|
|
regulator-name = "vddio_ddr_1v2";
|
|
|
|
regulator-min-microvolt = <1200000>;
|
|
|
|
regulator-max-microvolt = <1200000>;
|
|
|
|
regulator-always-on;
|
|
|
|
};
|
|
|
|
|
2012-09-21 06:04:06 +07:00
|
|
|
vdd2_reg: vdd2 {
|
2012-08-09 18:00:37 +07:00
|
|
|
regulator-name = "vdd_1v5_gen";
|
|
|
|
regulator-min-microvolt = <1500000>;
|
|
|
|
regulator-max-microvolt = <1500000>;
|
|
|
|
regulator-always-on;
|
|
|
|
};
|
|
|
|
|
2012-09-21 06:04:06 +07:00
|
|
|
vddctrl_reg: vddctrl {
|
2012-08-09 18:00:37 +07:00
|
|
|
regulator-name = "vdd_cpu,vdd_sys";
|
|
|
|
regulator-min-microvolt = <1000000>;
|
|
|
|
regulator-max-microvolt = <1000000>;
|
|
|
|
regulator-always-on;
|
|
|
|
};
|
|
|
|
|
2012-09-21 06:04:06 +07:00
|
|
|
vio_reg: vio {
|
2012-08-09 18:00:37 +07:00
|
|
|
regulator-name = "vdd_1v8_gen";
|
|
|
|
regulator-min-microvolt = <1800000>;
|
|
|
|
regulator-max-microvolt = <1800000>;
|
|
|
|
regulator-always-on;
|
|
|
|
};
|
|
|
|
|
2012-09-21 06:04:06 +07:00
|
|
|
ldo1_reg: ldo1 {
|
2012-08-09 18:00:37 +07:00
|
|
|
regulator-name = "vdd_pexa,vdd_pexb";
|
|
|
|
regulator-min-microvolt = <1050000>;
|
|
|
|
regulator-max-microvolt = <1050000>;
|
|
|
|
};
|
|
|
|
|
2012-09-21 06:04:06 +07:00
|
|
|
ldo2_reg: ldo2 {
|
2012-08-09 18:00:37 +07:00
|
|
|
regulator-name = "vdd_sata,avdd_plle";
|
|
|
|
regulator-min-microvolt = <1050000>;
|
|
|
|
regulator-max-microvolt = <1050000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
/* LDO3 is not connected to anything */
|
|
|
|
|
2012-09-21 06:04:06 +07:00
|
|
|
ldo4_reg: ldo4 {
|
2012-08-09 18:00:37 +07:00
|
|
|
regulator-name = "vdd_rtc";
|
|
|
|
regulator-min-microvolt = <1200000>;
|
|
|
|
regulator-max-microvolt = <1200000>;
|
|
|
|
regulator-always-on;
|
|
|
|
};
|
|
|
|
|
2012-09-21 06:04:06 +07:00
|
|
|
ldo5_reg: ldo5 {
|
2012-08-09 18:00:39 +07:00
|
|
|
regulator-name = "vddio_sdmmc,avdd_vdac";
|
|
|
|
regulator-min-microvolt = <3300000>;
|
|
|
|
regulator-max-microvolt = <3300000>;
|
|
|
|
regulator-always-on;
|
|
|
|
};
|
|
|
|
|
2012-09-21 06:04:06 +07:00
|
|
|
ldo6_reg: ldo6 {
|
2012-08-09 18:00:37 +07:00
|
|
|
regulator-name = "avdd_dsi_csi,pwrdet_mipi";
|
|
|
|
regulator-min-microvolt = <1200000>;
|
|
|
|
regulator-max-microvolt = <1200000>;
|
|
|
|
};
|
|
|
|
|
2012-09-21 06:04:06 +07:00
|
|
|
ldo7_reg: ldo7 {
|
2012-08-09 18:00:37 +07:00
|
|
|
regulator-name = "vdd_pllm,x,u,a_p_c_s";
|
|
|
|
regulator-min-microvolt = <1200000>;
|
|
|
|
regulator-max-microvolt = <1200000>;
|
|
|
|
regulator-always-on;
|
|
|
|
};
|
|
|
|
|
2012-09-21 06:04:06 +07:00
|
|
|
ldo8_reg: ldo8 {
|
2012-08-09 18:00:37 +07:00
|
|
|
regulator-name = "vdd_ddr_hs";
|
|
|
|
regulator-min-microvolt = <1000000>;
|
|
|
|
regulator-max-microvolt = <1000000>;
|
|
|
|
regulator-always-on;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2013-07-12 14:49:23 +07:00
|
|
|
|
2013-10-07 16:28:29 +07:00
|
|
|
temperature-sensor@4c {
|
2013-07-12 14:49:23 +07:00
|
|
|
compatible = "onnn,nct1008";
|
|
|
|
reg = <0x4c>;
|
2013-10-07 16:28:29 +07:00
|
|
|
vcc-supply = <&sys_3v3_reg>;
|
2013-07-12 14:49:23 +07:00
|
|
|
interrupt-parent = <&gpio>;
|
|
|
|
interrupts = <TEGRA_GPIO(CC, 2) IRQ_TYPE_LEVEL_LOW>;
|
|
|
|
};
|
2013-07-15 23:33:53 +07:00
|
|
|
|
2013-11-26 07:53:16 +07:00
|
|
|
tps62361@60 {
|
2013-07-15 23:33:53 +07:00
|
|
|
compatible = "ti,tps62361";
|
|
|
|
reg = <0x60>;
|
|
|
|
|
|
|
|
regulator-name = "tps62361-vout";
|
|
|
|
regulator-min-microvolt = <500000>;
|
|
|
|
regulator-max-microvolt = <1500000>;
|
|
|
|
regulator-boot-on;
|
|
|
|
regulator-always-on;
|
|
|
|
ti,vsel0-state-high;
|
|
|
|
ti,vsel1-state-high;
|
|
|
|
};
|
2011-12-14 22:03:26 +07:00
|
|
|
};
|
2012-02-02 06:29:57 +07:00
|
|
|
|
2012-10-31 16:02:54 +07:00
|
|
|
spi@7000da00 {
|
|
|
|
status = "okay";
|
|
|
|
spi-max-frequency = <25000000>;
|
|
|
|
spi-flash@1 {
|
|
|
|
compatible = "winbond,w25q32";
|
|
|
|
reg = <1>;
|
|
|
|
spi-max-frequency = <20000000>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2013-11-26 07:53:16 +07:00
|
|
|
pmc@7000e400 {
|
2012-08-09 18:00:37 +07:00
|
|
|
status = "okay";
|
|
|
|
nvidia,invert-interrupt;
|
2013-08-12 16:40:07 +07:00
|
|
|
nvidia,suspend-mode = <1>;
|
2013-04-03 18:31:52 +07:00
|
|
|
nvidia,cpu-pwr-good-time = <2000>;
|
|
|
|
nvidia,cpu-pwr-off-time = <200>;
|
|
|
|
nvidia,core-pwr-good-time = <3845 3845>;
|
|
|
|
nvidia,core-pwr-off-time = <0>;
|
|
|
|
nvidia,core-power-req-active-high;
|
|
|
|
nvidia,sys-clock-req-active-high;
|
2012-08-09 18:00:37 +07:00
|
|
|
};
|
|
|
|
|
2013-11-27 04:43:45 +07:00
|
|
|
ahub@70080000 {
|
|
|
|
i2s@70080400 {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2012-05-12 06:03:26 +07:00
|
|
|
sdhci@78000000 {
|
2012-05-12 06:32:56 +07:00
|
|
|
status = "okay";
|
2013-02-13 07:25:15 +07:00
|
|
|
cd-gpios = <&gpio TEGRA_GPIO(I, 5) GPIO_ACTIVE_LOW>;
|
|
|
|
wp-gpios = <&gpio TEGRA_GPIO(T, 3) GPIO_ACTIVE_HIGH>;
|
|
|
|
power-gpios = <&gpio TEGRA_GPIO(D, 7) GPIO_ACTIVE_HIGH>;
|
2012-05-13 11:14:24 +07:00
|
|
|
bus-width = <4>;
|
2012-05-12 06:03:26 +07:00
|
|
|
};
|
|
|
|
|
|
|
|
sdhci@78000600 {
|
2012-05-12 06:32:56 +07:00
|
|
|
status = "okay";
|
2012-05-13 11:14:24 +07:00
|
|
|
bus-width = <8>;
|
2013-04-04 03:34:39 +07:00
|
|
|
non-removable;
|
2012-05-12 06:03:26 +07:00
|
|
|
};
|
|
|
|
|
2013-08-01 22:00:17 +07:00
|
|
|
usb@7d008000 {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
usb-phy@7d008000 {
|
|
|
|
vbus-supply = <&usb3_vbus_reg>;
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
2013-12-19 22:59:26 +07:00
|
|
|
backlight: backlight {
|
|
|
|
compatible = "pwm-backlight";
|
|
|
|
|
|
|
|
enable-gpios = <&gpio TEGRA_GPIO(H, 2) GPIO_ACTIVE_HIGH>;
|
|
|
|
power-supply = <&vdd_bl_reg>;
|
|
|
|
pwms = <&pwm 0 5000000>;
|
|
|
|
|
|
|
|
brightness-levels = <0 4 8 16 32 64 128 255>;
|
|
|
|
default-brightness-level = <6>;
|
|
|
|
};
|
|
|
|
|
2013-04-03 18:31:27 +07:00
|
|
|
clocks {
|
|
|
|
compatible = "simple-bus";
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
|
2013-11-26 07:53:16 +07:00
|
|
|
clk32k_in: clock@0 {
|
2013-04-03 18:31:27 +07:00
|
|
|
compatible = "fixed-clock";
|
|
|
|
reg=<0>;
|
|
|
|
#clock-cells = <0>;
|
|
|
|
clock-frequency = <32768>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2013-12-19 22:59:26 +07:00
|
|
|
panel: panel {
|
|
|
|
compatible = "chunghwa,claa101wb01", "simple-panel";
|
|
|
|
ddc-i2c-bus = <&panelddc>;
|
|
|
|
|
|
|
|
power-supply = <&vdd_pnl1_reg>;
|
|
|
|
enable-gpios = <&gpio TEGRA_GPIO(L, 2) GPIO_ACTIVE_HIGH>;
|
|
|
|
|
|
|
|
backlight = <&backlight>;
|
|
|
|
};
|
|
|
|
|
2012-08-09 18:00:37 +07:00
|
|
|
regulators {
|
|
|
|
compatible = "simple-bus";
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
|
|
|
|
vdd_ac_bat_reg: regulator@0 {
|
|
|
|
compatible = "regulator-fixed";
|
|
|
|
reg = <0>;
|
|
|
|
regulator-name = "vdd_ac_bat";
|
|
|
|
regulator-min-microvolt = <5000000>;
|
|
|
|
regulator-max-microvolt = <5000000>;
|
|
|
|
regulator-always-on;
|
|
|
|
};
|
2012-08-09 18:00:39 +07:00
|
|
|
|
|
|
|
cam_1v8_reg: regulator@1 {
|
|
|
|
compatible = "regulator-fixed";
|
|
|
|
reg = <1>;
|
|
|
|
regulator-name = "cam_1v8";
|
|
|
|
regulator-min-microvolt = <1800000>;
|
|
|
|
regulator-max-microvolt = <1800000>;
|
|
|
|
enable-active-high;
|
2013-02-13 07:25:15 +07:00
|
|
|
gpio = <&gpio TEGRA_GPIO(BB, 4) GPIO_ACTIVE_HIGH>;
|
2012-08-09 18:00:39 +07:00
|
|
|
vin-supply = <&vio_reg>;
|
|
|
|
};
|
|
|
|
|
|
|
|
cp_5v_reg: regulator@2 {
|
|
|
|
compatible = "regulator-fixed";
|
|
|
|
reg = <2>;
|
|
|
|
regulator-name = "cp_5v";
|
|
|
|
regulator-min-microvolt = <5000000>;
|
|
|
|
regulator-max-microvolt = <5000000>;
|
|
|
|
regulator-boot-on;
|
|
|
|
regulator-always-on;
|
|
|
|
enable-active-high;
|
2013-02-13 07:25:15 +07:00
|
|
|
gpio = <&pmic 0 GPIO_ACTIVE_HIGH>;
|
2012-08-09 18:00:39 +07:00
|
|
|
};
|
|
|
|
|
|
|
|
emmc_3v3_reg: regulator@3 {
|
|
|
|
compatible = "regulator-fixed";
|
|
|
|
reg = <3>;
|
|
|
|
regulator-name = "emmc_3v3";
|
|
|
|
regulator-min-microvolt = <3300000>;
|
|
|
|
regulator-max-microvolt = <3300000>;
|
|
|
|
regulator-always-on;
|
|
|
|
regulator-boot-on;
|
|
|
|
enable-active-high;
|
2013-02-13 07:25:15 +07:00
|
|
|
gpio = <&gpio TEGRA_GPIO(D, 1) GPIO_ACTIVE_HIGH>;
|
2012-08-09 18:00:39 +07:00
|
|
|
vin-supply = <&sys_3v3_reg>;
|
|
|
|
};
|
|
|
|
|
|
|
|
modem_3v3_reg: regulator@4 {
|
|
|
|
compatible = "regulator-fixed";
|
|
|
|
reg = <4>;
|
|
|
|
regulator-name = "modem_3v3";
|
|
|
|
regulator-min-microvolt = <3300000>;
|
|
|
|
regulator-max-microvolt = <3300000>;
|
|
|
|
enable-active-high;
|
2013-02-13 07:25:15 +07:00
|
|
|
gpio = <&gpio TEGRA_GPIO(D, 6) GPIO_ACTIVE_HIGH>;
|
2012-08-09 18:00:39 +07:00
|
|
|
};
|
|
|
|
|
|
|
|
pex_hvdd_3v3_reg: regulator@5 {
|
|
|
|
compatible = "regulator-fixed";
|
|
|
|
reg = <5>;
|
|
|
|
regulator-name = "pex_hvdd_3v3";
|
|
|
|
regulator-min-microvolt = <3300000>;
|
|
|
|
regulator-max-microvolt = <3300000>;
|
|
|
|
enable-active-high;
|
2013-02-13 07:25:15 +07:00
|
|
|
gpio = <&gpio TEGRA_GPIO(L, 7) GPIO_ACTIVE_HIGH>;
|
2012-08-09 18:00:39 +07:00
|
|
|
vin-supply = <&sys_3v3_reg>;
|
|
|
|
};
|
|
|
|
|
|
|
|
vdd_cam1_ldo_reg: regulator@6 {
|
|
|
|
compatible = "regulator-fixed";
|
|
|
|
reg = <6>;
|
|
|
|
regulator-name = "vdd_cam1_ldo";
|
|
|
|
regulator-min-microvolt = <2800000>;
|
|
|
|
regulator-max-microvolt = <2800000>;
|
|
|
|
enable-active-high;
|
2013-02-13 07:25:15 +07:00
|
|
|
gpio = <&gpio TEGRA_GPIO(R, 6) GPIO_ACTIVE_HIGH>;
|
2012-08-09 18:00:39 +07:00
|
|
|
vin-supply = <&sys_3v3_reg>;
|
|
|
|
};
|
|
|
|
|
|
|
|
vdd_cam2_ldo_reg: regulator@7 {
|
|
|
|
compatible = "regulator-fixed";
|
|
|
|
reg = <7>;
|
|
|
|
regulator-name = "vdd_cam2_ldo";
|
|
|
|
regulator-min-microvolt = <2800000>;
|
|
|
|
regulator-max-microvolt = <2800000>;
|
|
|
|
enable-active-high;
|
2013-02-13 07:25:15 +07:00
|
|
|
gpio = <&gpio TEGRA_GPIO(R, 7) GPIO_ACTIVE_HIGH>;
|
2012-08-09 18:00:39 +07:00
|
|
|
vin-supply = <&sys_3v3_reg>;
|
|
|
|
};
|
|
|
|
|
|
|
|
vdd_cam3_ldo_reg: regulator@8 {
|
|
|
|
compatible = "regulator-fixed";
|
|
|
|
reg = <8>;
|
|
|
|
regulator-name = "vdd_cam3_ldo";
|
|
|
|
regulator-min-microvolt = <3300000>;
|
|
|
|
regulator-max-microvolt = <3300000>;
|
|
|
|
enable-active-high;
|
2013-02-13 07:25:15 +07:00
|
|
|
gpio = <&gpio TEGRA_GPIO(S, 0) GPIO_ACTIVE_HIGH>;
|
2012-08-09 18:00:39 +07:00
|
|
|
vin-supply = <&sys_3v3_reg>;
|
|
|
|
};
|
|
|
|
|
|
|
|
vdd_com_reg: regulator@9 {
|
|
|
|
compatible = "regulator-fixed";
|
|
|
|
reg = <9>;
|
|
|
|
regulator-name = "vdd_com";
|
|
|
|
regulator-min-microvolt = <3300000>;
|
|
|
|
regulator-max-microvolt = <3300000>;
|
2012-09-21 15:54:59 +07:00
|
|
|
regulator-always-on;
|
|
|
|
regulator-boot-on;
|
2012-08-09 18:00:39 +07:00
|
|
|
enable-active-high;
|
2013-02-13 07:25:15 +07:00
|
|
|
gpio = <&gpio TEGRA_GPIO(D, 0) GPIO_ACTIVE_HIGH>;
|
2012-08-09 18:00:39 +07:00
|
|
|
vin-supply = <&sys_3v3_reg>;
|
|
|
|
};
|
|
|
|
|
|
|
|
vdd_fuse_3v3_reg: regulator@10 {
|
|
|
|
compatible = "regulator-fixed";
|
|
|
|
reg = <10>;
|
|
|
|
regulator-name = "vdd_fuse_3v3";
|
|
|
|
regulator-min-microvolt = <3300000>;
|
|
|
|
regulator-max-microvolt = <3300000>;
|
|
|
|
enable-active-high;
|
2013-02-13 07:25:15 +07:00
|
|
|
gpio = <&gpio TEGRA_GPIO(L, 6) GPIO_ACTIVE_HIGH>;
|
2012-08-09 18:00:39 +07:00
|
|
|
vin-supply = <&sys_3v3_reg>;
|
|
|
|
};
|
|
|
|
|
|
|
|
vdd_pnl1_reg: regulator@11 {
|
|
|
|
compatible = "regulator-fixed";
|
|
|
|
reg = <11>;
|
|
|
|
regulator-name = "vdd_pnl1";
|
|
|
|
regulator-min-microvolt = <3300000>;
|
|
|
|
regulator-max-microvolt = <3300000>;
|
|
|
|
regulator-always-on;
|
|
|
|
regulator-boot-on;
|
|
|
|
enable-active-high;
|
2013-02-13 07:25:15 +07:00
|
|
|
gpio = <&gpio TEGRA_GPIO(L, 4) GPIO_ACTIVE_HIGH>;
|
2012-08-09 18:00:39 +07:00
|
|
|
vin-supply = <&sys_3v3_reg>;
|
|
|
|
};
|
|
|
|
|
|
|
|
vdd_vid_reg: regulator@12 {
|
|
|
|
compatible = "regulator-fixed";
|
|
|
|
reg = <12>;
|
|
|
|
regulator-name = "vddio_vid";
|
|
|
|
regulator-min-microvolt = <5000000>;
|
|
|
|
regulator-max-microvolt = <5000000>;
|
|
|
|
enable-active-high;
|
2013-02-13 07:25:15 +07:00
|
|
|
gpio = <&gpio TEGRA_GPIO(T, 0) GPIO_ACTIVE_HIGH>;
|
2012-08-09 18:00:39 +07:00
|
|
|
gpio-open-drain;
|
|
|
|
vin-supply = <&vdd_5v0_reg>;
|
|
|
|
};
|
2012-08-09 18:00:37 +07:00
|
|
|
};
|
|
|
|
|
2012-03-28 01:41:37 +07:00
|
|
|
sound {
|
|
|
|
compatible = "nvidia,tegra-audio-wm8903-cardhu",
|
|
|
|
"nvidia,tegra-audio-wm8903";
|
|
|
|
nvidia,model = "NVIDIA Tegra Cardhu";
|
|
|
|
|
|
|
|
nvidia,audio-routing =
|
|
|
|
"Headphone Jack", "HPOUTR",
|
|
|
|
"Headphone Jack", "HPOUTL",
|
|
|
|
"Int Spk", "ROP",
|
|
|
|
"Int Spk", "RON",
|
|
|
|
"Int Spk", "LOP",
|
|
|
|
"Int Spk", "LON",
|
|
|
|
"Mic Jack", "MICBIAS",
|
|
|
|
"IN1L", "Mic Jack";
|
|
|
|
|
|
|
|
nvidia,i2s-controller = <&tegra_i2s1>;
|
|
|
|
nvidia,audio-codec = <&wm8903>;
|
|
|
|
|
2013-02-13 07:25:15 +07:00
|
|
|
nvidia,spkr-en-gpios = <&wm8903 2 GPIO_ACTIVE_HIGH>;
|
|
|
|
nvidia,hp-det-gpios = <&gpio TEGRA_GPIO(W, 2)
|
|
|
|
GPIO_ACTIVE_HIGH>;
|
2013-03-27 05:45:52 +07:00
|
|
|
|
2013-05-22 23:45:34 +07:00
|
|
|
clocks = <&tegra_car TEGRA30_CLK_PLL_A>,
|
|
|
|
<&tegra_car TEGRA30_CLK_PLL_A_OUT0>,
|
|
|
|
<&tegra_car TEGRA30_CLK_EXTERN1>;
|
2013-03-27 05:45:52 +07:00
|
|
|
clock-names = "pll_a", "pll_a_out0", "mclk";
|
2012-03-28 01:41:37 +07:00
|
|
|
};
|
2014-12-18 20:58:20 +07:00
|
|
|
|
|
|
|
gpio-keys {
|
|
|
|
compatible = "gpio-keys";
|
|
|
|
|
|
|
|
power {
|
|
|
|
label = "Power";
|
|
|
|
interrupt-parent = <&pmic>;
|
|
|
|
interrupts = <2 0>;
|
|
|
|
linux,code = <KEY_POWER>;
|
|
|
|
debounce-interval = <100>;
|
|
|
|
gpio-key,wakeup;
|
|
|
|
};
|
|
|
|
|
|
|
|
volume-down {
|
|
|
|
label = "Volume Down";
|
|
|
|
gpios = <&gpio TEGRA_GPIO(R, 0) GPIO_ACTIVE_LOW>;
|
|
|
|
linux,code = <KEY_VOLUMEDOWN>;
|
|
|
|
debounce-interval = <10>;
|
|
|
|
};
|
|
|
|
|
|
|
|
volume-up {
|
|
|
|
label = "Volume Up";
|
|
|
|
gpios = <&gpio TEGRA_GPIO(R, 1) GPIO_ACTIVE_LOW>;
|
|
|
|
linux,code = <KEY_VOLUMEUP>;
|
|
|
|
debounce-interval = <10>;
|
|
|
|
};
|
|
|
|
};
|
2011-12-14 22:03:26 +07:00
|
|
|
};
|