162306a36Sopenharmony_ci// SPDX-License-Identifier: GPL-2.0
262306a36Sopenharmony_ci
362306a36Sopenharmony_ci#include "tegra30-asus-nexus7-grouper-common.dtsi"
462306a36Sopenharmony_ci#include "tegra30-asus-nexus7-grouper-memory-timings.dtsi"
562306a36Sopenharmony_ci
662306a36Sopenharmony_ci/ {
762306a36Sopenharmony_ci	compatible = "asus,grouper", "nvidia,tegra30";
862306a36Sopenharmony_ci
962306a36Sopenharmony_ci	pinmux@70000868 {
1062306a36Sopenharmony_ci		state_default: pinmux {
1162306a36Sopenharmony_ci			lcd_dc1_pd2 {
1262306a36Sopenharmony_ci				nvidia,pins = "lcd_dc1_pd2";
1362306a36Sopenharmony_ci				nvidia,function = "displaya";
1462306a36Sopenharmony_ci				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
1562306a36Sopenharmony_ci				nvidia,tristate = <TEGRA_PIN_DISABLE>;
1662306a36Sopenharmony_ci				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
1762306a36Sopenharmony_ci			};
1862306a36Sopenharmony_ci			lcd_pwr2_pc6 {
1962306a36Sopenharmony_ci				nvidia,pins = "lcd_pwr2_pc6";
2062306a36Sopenharmony_ci				nvidia,function = "displaya";
2162306a36Sopenharmony_ci				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
2262306a36Sopenharmony_ci				nvidia,tristate = <TEGRA_PIN_DISABLE>;
2362306a36Sopenharmony_ci				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
2462306a36Sopenharmony_ci			};
2562306a36Sopenharmony_ci			spi2_cs2_n_pw3 {
2662306a36Sopenharmony_ci				nvidia,pins = "spi2_cs2_n_pw3";
2762306a36Sopenharmony_ci				nvidia,function = "spi2";
2862306a36Sopenharmony_ci				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
2962306a36Sopenharmony_ci				nvidia,tristate = <TEGRA_PIN_DISABLE>;
3062306a36Sopenharmony_ci				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
3162306a36Sopenharmony_ci			};
3262306a36Sopenharmony_ci			spi1_sck_px5 {
3362306a36Sopenharmony_ci				nvidia,pins = "spi1_sck_px5";
3462306a36Sopenharmony_ci				nvidia,function = "spi1";
3562306a36Sopenharmony_ci				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
3662306a36Sopenharmony_ci				nvidia,tristate = <TEGRA_PIN_DISABLE>;
3762306a36Sopenharmony_ci				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
3862306a36Sopenharmony_ci			};
3962306a36Sopenharmony_ci			pu5 {
4062306a36Sopenharmony_ci				nvidia,pins = "pu5";
4162306a36Sopenharmony_ci				nvidia,function = "pwm2";
4262306a36Sopenharmony_ci				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
4362306a36Sopenharmony_ci				nvidia,tristate = <TEGRA_PIN_DISABLE>;
4462306a36Sopenharmony_ci				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
4562306a36Sopenharmony_ci			};
4662306a36Sopenharmony_ci			spi1_miso_px7 {
4762306a36Sopenharmony_ci				nvidia,pins = "spi1_miso_px7";
4862306a36Sopenharmony_ci				nvidia,function = "spi1";
4962306a36Sopenharmony_ci				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
5062306a36Sopenharmony_ci				nvidia,tristate = <TEGRA_PIN_DISABLE>;
5162306a36Sopenharmony_ci				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
5262306a36Sopenharmony_ci			};
5362306a36Sopenharmony_ci			spi2_mosi_px0 {
5462306a36Sopenharmony_ci				nvidia,pins = "spi2_mosi_px0";
5562306a36Sopenharmony_ci				nvidia,function = "spi2";
5662306a36Sopenharmony_ci				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
5762306a36Sopenharmony_ci				nvidia,tristate = <TEGRA_PIN_DISABLE>;
5862306a36Sopenharmony_ci				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
5962306a36Sopenharmony_ci			};
6062306a36Sopenharmony_ci			kb_row7_pr7 {
6162306a36Sopenharmony_ci				nvidia,pins = "kb_row7_pr7";
6262306a36Sopenharmony_ci				nvidia,function = "kbc";
6362306a36Sopenharmony_ci				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
6462306a36Sopenharmony_ci				nvidia,tristate = <TEGRA_PIN_DISABLE>;
6562306a36Sopenharmony_ci				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
6662306a36Sopenharmony_ci			};
6762306a36Sopenharmony_ci			pu3 {
6862306a36Sopenharmony_ci				nvidia,pins = "pu3";
6962306a36Sopenharmony_ci				nvidia,function = "rsvd4";
7062306a36Sopenharmony_ci				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
7162306a36Sopenharmony_ci				nvidia,tristate = <TEGRA_PIN_DISABLE>;
7262306a36Sopenharmony_ci				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
7362306a36Sopenharmony_ci			};
7462306a36Sopenharmony_ci			pu4 {
7562306a36Sopenharmony_ci				nvidia,pins = "pu4";
7662306a36Sopenharmony_ci				nvidia,function = "pwm1";
7762306a36Sopenharmony_ci				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
7862306a36Sopenharmony_ci				nvidia,tristate = <TEGRA_PIN_ENABLE>;
7962306a36Sopenharmony_ci				nvidia,enable-input = <TEGRA_PIN_ENABLE>;
8062306a36Sopenharmony_ci			};
8162306a36Sopenharmony_ci			kb_row15_ps7 {
8262306a36Sopenharmony_ci				nvidia,pins = "kb_row15_ps7";
8362306a36Sopenharmony_ci				nvidia,function = "kbc";
8462306a36Sopenharmony_ci				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
8562306a36Sopenharmony_ci				nvidia,tristate = <TEGRA_PIN_DISABLE>;
8662306a36Sopenharmony_ci				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
8762306a36Sopenharmony_ci			};
8862306a36Sopenharmony_ci			kb_row3_pr3 {
8962306a36Sopenharmony_ci				nvidia,pins = "kb_row3_pr3";
9062306a36Sopenharmony_ci				nvidia,function = "kbc";
9162306a36Sopenharmony_ci				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
9262306a36Sopenharmony_ci				nvidia,tristate = <TEGRA_PIN_DISABLE>;
9362306a36Sopenharmony_ci				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
9462306a36Sopenharmony_ci			};
9562306a36Sopenharmony_ci			kb_row13_ps5 {
9662306a36Sopenharmony_ci				nvidia,pins = "kb_row13_ps5";
9762306a36Sopenharmony_ci				nvidia,function = "kbc";
9862306a36Sopenharmony_ci				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
9962306a36Sopenharmony_ci				nvidia,tristate = <TEGRA_PIN_ENABLE>;
10062306a36Sopenharmony_ci				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
10162306a36Sopenharmony_ci			};
10262306a36Sopenharmony_ci			gmi_wp_n_pc7 {
10362306a36Sopenharmony_ci				nvidia,pins = "gmi_wp_n_pc7",
10462306a36Sopenharmony_ci						"gmi_wait_pi7",
10562306a36Sopenharmony_ci						"gmi_cs4_n_pk2",
10662306a36Sopenharmony_ci						"gmi_cs3_n_pk4";
10762306a36Sopenharmony_ci				nvidia,function = "rsvd1";
10862306a36Sopenharmony_ci				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
10962306a36Sopenharmony_ci				nvidia,tristate = <TEGRA_PIN_ENABLE>;
11062306a36Sopenharmony_ci				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
11162306a36Sopenharmony_ci			};
11262306a36Sopenharmony_ci			gmi_cs6_n_pi3 {
11362306a36Sopenharmony_ci				nvidia,pins = "gmi_cs6_n_pi3";
11462306a36Sopenharmony_ci				nvidia,function = "gmi";
11562306a36Sopenharmony_ci				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
11662306a36Sopenharmony_ci				nvidia,tristate = <TEGRA_PIN_ENABLE>;
11762306a36Sopenharmony_ci				nvidia,enable-input = <TEGRA_PIN_DISABLE>;
11862306a36Sopenharmony_ci			};
11962306a36Sopenharmony_ci		};
12062306a36Sopenharmony_ci	};
12162306a36Sopenharmony_ci
12262306a36Sopenharmony_ci	i2c@7000c500 {
12362306a36Sopenharmony_ci		nfc@28 {
12462306a36Sopenharmony_ci			compatible = "nxp,pn544-i2c";
12562306a36Sopenharmony_ci			reg = <0x28>;
12662306a36Sopenharmony_ci
12762306a36Sopenharmony_ci			interrupt-parent = <&gpio>;
12862306a36Sopenharmony_ci			interrupts = <TEGRA_GPIO(X, 0) IRQ_TYPE_EDGE_RISING>;
12962306a36Sopenharmony_ci
13062306a36Sopenharmony_ci			enable-gpios   = <&gpio TEGRA_GPIO(S, 7) GPIO_ACTIVE_HIGH>;
13162306a36Sopenharmony_ci			firmware-gpios = <&gpio TEGRA_GPIO(R, 3) GPIO_ACTIVE_HIGH>;
13262306a36Sopenharmony_ci		};
13362306a36Sopenharmony_ci	};
13462306a36Sopenharmony_ci
13562306a36Sopenharmony_ci	display-panel {
13662306a36Sopenharmony_ci		panel-timing {
13762306a36Sopenharmony_ci			clock-frequency = <68000000>;
13862306a36Sopenharmony_ci			hactive = <800>;
13962306a36Sopenharmony_ci			vactive = <1280>;
14062306a36Sopenharmony_ci			hfront-porch = <24>;
14162306a36Sopenharmony_ci			hback-porch = <32>;
14262306a36Sopenharmony_ci			hsync-len = <24>;
14362306a36Sopenharmony_ci			vsync-len = <1>;
14462306a36Sopenharmony_ci			vfront-porch = <5>;
14562306a36Sopenharmony_ci			vback-porch = <32>;
14662306a36Sopenharmony_ci		};
14762306a36Sopenharmony_ci	};
14862306a36Sopenharmony_ci};
149