2011-12-14 22:03:26 +07:00
|
|
|
/dts-v1/;
|
|
|
|
|
|
|
|
/include/ "tegra30.dtsi"
|
|
|
|
|
|
|
|
/ {
|
|
|
|
model = "NVIDIA Tegra30 Cardhu evaluation board";
|
|
|
|
compatible = "nvidia,cardhu", "nvidia,tegra30";
|
|
|
|
|
|
|
|
memory {
|
2012-05-12 05:11:38 +07:00
|
|
|
reg = <0x80000000 0x40000000>;
|
2011-12-14 22:03:26 +07:00
|
|
|
};
|
|
|
|
|
2012-05-12 05:17:47 +07:00
|
|
|
pinmux {
|
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";
|
|
|
|
nvidia,pull = <0>;
|
|
|
|
nvidia,tristate = <0>;
|
|
|
|
};
|
|
|
|
sdmmc1_cmd_pz1 {
|
|
|
|
nvidia,pins = "sdmmc1_cmd_pz1",
|
|
|
|
"sdmmc1_dat0_py7",
|
|
|
|
"sdmmc1_dat1_py6",
|
|
|
|
"sdmmc1_dat2_py5",
|
|
|
|
"sdmmc1_dat3_py4";
|
|
|
|
nvidia,function = "sdmmc1";
|
|
|
|
nvidia,pull = <2>;
|
|
|
|
nvidia,tristate = <0>;
|
|
|
|
};
|
|
|
|
sdmmc4_clk_pcc4 {
|
|
|
|
nvidia,pins = "sdmmc4_clk_pcc4",
|
|
|
|
"sdmmc4_rst_n_pcc3";
|
|
|
|
nvidia,function = "sdmmc4";
|
|
|
|
nvidia,pull = <0>;
|
|
|
|
nvidia,tristate = <0>;
|
|
|
|
};
|
|
|
|
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";
|
|
|
|
nvidia,pull = <2>;
|
|
|
|
nvidia,tristate = <0>;
|
|
|
|
};
|
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";
|
|
|
|
nvidia,pull = <0>;
|
|
|
|
nvidia,tristate = <0>;
|
|
|
|
};
|
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";
|
2012-05-12 05:11:38 +07:00
|
|
|
clock-frequency = <408000000>;
|
2011-12-14 22:03:26 +07:00
|
|
|
};
|
|
|
|
|
|
|
|
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 {
|
|
|
|
compatible = "isil,isl29028";
|
|
|
|
reg = <0x44>;
|
|
|
|
interrupt-parent = <&gpio>;
|
|
|
|
interrupts = <88 0x04>; /*gpio PL0 */
|
|
|
|
};
|
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>;
|
|
|
|
interrupts = <179 0x04>; /* gpio PW3 */
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
tps62361 {
|
|
|
|
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;
|
|
|
|
};
|
2012-08-09 18:00:37 +07:00
|
|
|
|
|
|
|
pmic: tps65911@2d {
|
|
|
|
compatible = "ti,tps65911";
|
|
|
|
reg = <0x2d>;
|
|
|
|
|
|
|
|
interrupts = <0 86 0x4>;
|
|
|
|
#interrupt-cells = <2>;
|
|
|
|
interrupt-controller;
|
|
|
|
|
|
|
|
#gpio-cells = <2>;
|
|
|
|
gpio-controller;
|
|
|
|
|
|
|
|
vcc1-supply = <&vdd_ac_bat_reg>;
|
|
|
|
vcc2-supply = <&vdd_ac_bat_reg>;
|
|
|
|
vcc3-supply = <&vio_reg>;
|
|
|
|
vcc5-supply = <&vdd_ac_bat_reg>;
|
|
|
|
vcc6-supply = <&vdd2_reg>;
|
|
|
|
vcc7-supply = <&vdd_ac_bat_reg>;
|
|
|
|
vccio-supply = <&vdd_ac_bat_reg>;
|
|
|
|
|
|
|
|
regulators {
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
|
|
|
|
vdd1_reg: regulator@0 {
|
|
|
|
reg = <0>;
|
|
|
|
regulator-compatible = "vdd1";
|
|
|
|
regulator-name = "vddio_ddr_1v2";
|
|
|
|
regulator-min-microvolt = <1200000>;
|
|
|
|
regulator-max-microvolt = <1200000>;
|
|
|
|
regulator-always-on;
|
|
|
|
};
|
|
|
|
|
|
|
|
vdd2_reg: regulator@1 {
|
|
|
|
reg = <1>;
|
|
|
|
regulator-compatible = "vdd2";
|
|
|
|
regulator-name = "vdd_1v5_gen";
|
|
|
|
regulator-min-microvolt = <1500000>;
|
|
|
|
regulator-max-microvolt = <1500000>;
|
|
|
|
regulator-always-on;
|
|
|
|
};
|
|
|
|
|
|
|
|
vddctrl_reg: regulator@2 {
|
|
|
|
reg = <2>;
|
|
|
|
regulator-compatible = "vddctrl";
|
|
|
|
regulator-name = "vdd_cpu,vdd_sys";
|
|
|
|
regulator-min-microvolt = <1000000>;
|
|
|
|
regulator-max-microvolt = <1000000>;
|
|
|
|
regulator-always-on;
|
|
|
|
};
|
|
|
|
|
|
|
|
vio_reg: regulator@3 {
|
|
|
|
reg = <3>;
|
|
|
|
regulator-compatible = "vio";
|
|
|
|
regulator-name = "vdd_1v8_gen";
|
|
|
|
regulator-min-microvolt = <1800000>;
|
|
|
|
regulator-max-microvolt = <1800000>;
|
|
|
|
regulator-always-on;
|
|
|
|
};
|
|
|
|
|
|
|
|
ldo1_reg: regulator@4 {
|
|
|
|
reg = <4>;
|
|
|
|
regulator-compatible = "ldo1";
|
|
|
|
regulator-name = "vdd_pexa,vdd_pexb";
|
|
|
|
regulator-min-microvolt = <1050000>;
|
|
|
|
regulator-max-microvolt = <1050000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
ldo2_reg: regulator@5 {
|
|
|
|
reg = <5>;
|
|
|
|
regulator-compatible = "ldo2";
|
|
|
|
regulator-name = "vdd_sata,avdd_plle";
|
|
|
|
regulator-min-microvolt = <1050000>;
|
|
|
|
regulator-max-microvolt = <1050000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
/* LDO3 is not connected to anything */
|
|
|
|
|
|
|
|
ldo4_reg: regulator@7 {
|
|
|
|
reg = <7>;
|
|
|
|
regulator-compatible = "ldo4";
|
|
|
|
regulator-name = "vdd_rtc";
|
|
|
|
regulator-min-microvolt = <1200000>;
|
|
|
|
regulator-max-microvolt = <1200000>;
|
|
|
|
regulator-always-on;
|
|
|
|
};
|
|
|
|
|
|
|
|
ldo6_reg: regulator@9 {
|
|
|
|
reg = <9>;
|
|
|
|
regulator-compatible = "ldo6";
|
|
|
|
regulator-name = "avdd_dsi_csi,pwrdet_mipi";
|
|
|
|
regulator-min-microvolt = <1200000>;
|
|
|
|
regulator-max-microvolt = <1200000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
ldo7_reg: regulator@10 {
|
|
|
|
reg = <10>;
|
|
|
|
regulator-compatible = "ldo7";
|
|
|
|
regulator-name = "vdd_pllm,x,u,a_p_c_s";
|
|
|
|
regulator-min-microvolt = <1200000>;
|
|
|
|
regulator-max-microvolt = <1200000>;
|
|
|
|
regulator-always-on;
|
|
|
|
};
|
|
|
|
|
|
|
|
ldo8_reg: regulator@11 {
|
|
|
|
reg = <11>;
|
|
|
|
regulator-compatible = "ldo8";
|
|
|
|
regulator-name = "vdd_ddr_hs";
|
|
|
|
regulator-min-microvolt = <1000000>;
|
|
|
|
regulator-max-microvolt = <1000000>;
|
|
|
|
regulator-always-on;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2011-12-14 22:03:26 +07:00
|
|
|
};
|
2012-02-02 06:29:57 +07:00
|
|
|
|
2012-05-12 05:17:47 +07:00
|
|
|
ahub {
|
2012-05-12 06:32:56 +07:00
|
|
|
i2s@70080400 {
|
|
|
|
status = "okay";
|
2012-03-28 01:41:37 +07:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2012-08-09 18:00:37 +07:00
|
|
|
pmc {
|
|
|
|
status = "okay";
|
|
|
|
nvidia,invert-interrupt;
|
|
|
|
};
|
|
|
|
|
2012-05-12 06:03:26 +07:00
|
|
|
sdhci@78000000 {
|
2012-05-12 06:32:56 +07:00
|
|
|
status = "okay";
|
2012-05-12 06:03:26 +07:00
|
|
|
cd-gpios = <&gpio 69 0>; /* gpio PI5 */
|
|
|
|
wp-gpios = <&gpio 155 0>; /* gpio PT3 */
|
|
|
|
power-gpios = <&gpio 31 0>; /* gpio PD7 */
|
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>;
|
2012-05-12 06:03:26 +07:00
|
|
|
};
|
|
|
|
|
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-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>;
|
|
|
|
|
|
|
|
nvidia,spkr-en-gpios = <&wm8903 2 0>;
|
|
|
|
nvidia,hp-det-gpios = <&gpio 178 0>; /* gpio PW2 */
|
|
|
|
};
|
2011-12-14 22:03:26 +07:00
|
|
|
};
|