Skip to content

Commit

Permalink
Merge tag 'tegra-for-4.7-arm64' of git://git.kernel.org/pub/scm/linux…
Browse files Browse the repository at this point in the history
…/kernel/git/tegra/linux into next/dt64

Merge "arm64: tegra: Changes for v4.7-rc1" from Thierry Reding

A couple of cleanups and fixes to various device trees, enable power and
volume keys on Jetson TX1, use stdout-path to define the serial port (so
it doesn't have to be specified on the kernel command-line) and add
Google Pixel C (a.k.a. Smaug) support.

* tag 'tegra-for-4.7-arm64' of git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux:
  arm64: tegra: Enable cros-ec and charger on Smaug
  arm64: tegra: Add pinmux for Smaug board
  arm64: tegra: Add stdout-path for various boards
  arm64: tegra: Remove unused #power-domain-cells property
  arm64: tegra: Add gpio-keys nodes for Smaug
  arm64: tegra: Enable power and volume keys on Jetson TX1
  arm64: tegra: Add support for Google Pixel C
  arm64: tegra: Replace legacy *,wakeup property with wakeup-source
  arm64: tegra: Fix copy/paste typo in several DTS includes
  arm64: tegra: Remove 0, prefix from unit-addresses
  • Loading branch information
Arnd Bergmann committed Apr 25, 2016
2 parents 318085c + 8d53957 commit a845167
Show file tree
Hide file tree
Showing 10 changed files with 1,617 additions and 161 deletions.
1 change: 1 addition & 0 deletions arch/arm64/boot/dts/nvidia/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ dtb-$(CONFIG_ARCH_TEGRA_132_SOC) += tegra132-norrin.dtb
dtb-$(CONFIG_ARCH_TEGRA_210_SOC) += tegra210-p2371-0000.dtb
dtb-$(CONFIG_ARCH_TEGRA_210_SOC) += tegra210-p2371-2180.dtb
dtb-$(CONFIG_ARCH_TEGRA_210_SOC) += tegra210-p2571.dtb
dtb-$(CONFIG_ARCH_TEGRA_210_SOC) += tegra210-smaug.dtb

always := $(dtb-y)
clean-files := *.dtb
55 changes: 29 additions & 26 deletions arch/arm64/boot/dts/nvidia/tegra132-norrin.dts
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,22 @@
compatible = "nvidia,norrin", "nvidia,tegra132", "nvidia,tegra124";

aliases {
rtc0 = "/i2c@0,7000d000/as3722@40";
rtc1 = "/rtc@0,7000e000";
rtc0 = "/i2c@7000d000/as3722@40";
rtc1 = "/rtc@7000e000";
serial0 = &uarta;
};

chosen { };
chosen {
stdout-path = "serial0:115200n8";
};

memory {
device_type = "memory";
reg = <0x0 0x80000000 0x0 0x80000000>;
};

host1x@0,50000000 {
hdmi@0,54280000 {
host1x@50000000 {
hdmi@54280000 {
status = "disabled";

vdd-supply = <&vdd_3v3_hdmi>;
Expand All @@ -32,26 +35,26 @@
<&gpio TEGRA_GPIO(N, 7) GPIO_ACTIVE_HIGH>;
};

sor@0,54540000 {
sor@54540000 {
status = "okay";

nvidia,dpaux = <&dpaux>;
nvidia,panel = <&panel>;
};

dpaux: dpaux@0,545c0000 {
dpaux: dpaux@545c0000 {
vdd-supply = <&vdd_3v3_panel>;
status = "okay";
};
};

gpu@0,57000000 {
gpu@57000000 {
status = "okay";

vdd-supply = <&vdd_gpu>;
};

pinmux@0,70000868 {
pinmux@70000868 {
pinctrl-names = "default";
pinctrl-0 = <&pinmux_default>;

Expand Down Expand Up @@ -523,21 +526,21 @@
};
};

serial@0,70006000 {
serial@70006000 {
status = "okay";
};

pwm: pwm@0,7000a000 {
pwm: pwm@7000a000 {
status = "okay";
};

/* HDMI DDC */
hdmi_ddc: i2c@0,7000c700 {
hdmi_ddc: i2c@7000c700 {
status = "okay";
clock-frequency = <100000>;
};

i2c@0,7000d000 {
i2c@7000d000 {
status = "okay";
clock-frequency = <400000>;

Expand Down Expand Up @@ -744,7 +747,7 @@
};
};

spi@0,7000d400 {
spi@7000d400 {
status = "okay";

ec: cros-ec@0 {
Expand Down Expand Up @@ -876,7 +879,7 @@
};
};

pmc@0,7000e400 {
pmc@7000e400 {
nvidia,invert-interrupt;
nvidia,suspend-mode = <0>;
#wake-cells = <3>;
Expand All @@ -890,12 +893,12 @@
};

/* WIFI/BT module */
sdhci@0,700b0000 {
sdhci@700b0000 {
status = "disabled";
};

/* external SD/MMC */
sdhci@0,700b0400 {
sdhci@700b0400 {
cd-gpios = <&gpio TEGRA_GPIO(V, 2) GPIO_ACTIVE_LOW>;
power-gpios = <&gpio TEGRA_GPIO(R, 0) GPIO_ACTIVE_HIGH>;
wp-gpios = <&gpio TEGRA_GPIO(Q, 4) GPIO_ACTIVE_HIGH>;
Expand All @@ -905,35 +908,35 @@
};

/* EMMC 4.51 */
sdhci@0,700b0600 {
sdhci@700b0600 {
status = "okay";
bus-width = <8>;
non-removable;
};

usb@0,7d000000 {
usb@7d000000 {
status = "okay";
};

usb-phy@0,7d000000 {
usb-phy@7d000000 {
status = "okay";
vbus-supply = <&vdd_usb1_vbus>;
};

usb@0,7d004000 {
usb@7d004000 {
status = "okay";
};

usb-phy@0,7d004000 {
usb-phy@7d004000 {
status = "okay";
vbus-supply = <&vdd_run_cam>;
};

usb@0,7d008000 {
usb@7d008000 {
status = "okay";
};

usb-phy@0,7d008000 {
usb-phy@7d008000 {
status = "okay";
vbus-supply = <&vdd_usb3_vbus>;
};
Expand Down Expand Up @@ -973,15 +976,15 @@
linux,input-type = <5>;
linux,code = <0>;
debounce-interval = <1>;
gpio-key,wakeup;
wakeup-source;
};

power {
label = "Power";
gpios = <&gpio TEGRA_GPIO(Q, 0) GPIO_ACTIVE_LOW>;
linux,code = <KEY_POWER>;
debounce-interval = <10>;
gpio-key,wakeup;
wakeup-source;
};
};

Expand Down
Loading

0 comments on commit a845167

Please sign in to comment.