linux_dsm_epyc7002/arch/arm64/boot/dts/socionext/uniphier-ld20-global.dts
Olof Johansson 7f502f8b34 UniPhier ARM64 SoC DT updates for v4.19
- Add missing #cooling-cells properties
 
 - Add hp-det-gpio property to detect headphone via GPIO
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1
 
 iQIcBAABAgAGBQJbT8GAAAoJED2LAQed4NsGqwAQAJ/Vy/lcv/PwJJjShgrackM7
 WkGdflO8C3xQ035EikAxCwv2g6SCqpIosRM4PKCxtUfJWC/mBQISGPaCuLA9HR8S
 E3yA7pS4RTfHzIni3NEmyfHjRjLsDe9PZUseAoci0JbZMUzdj59RkBDO5ofvYv9v
 40AUXRVk/sxd2G+cusXrYzGncd77jgghqgpKWx6jRyiJkczPV1a0iRdIJHZb+yz7
 9oYJtibuJCEAFBV2tGiEFtiBXFQPwaZ/+z8q2vPSjzH+raqhG2ntNCqMq+TQop03
 Ym6mt0eBOd4VXMFBizhzebxBcg5+FTn7k6ia3L6BtqitRoqTvLfCkMHjP1Aqd290
 /xKExPYduI8uOBTm5rIDueUunbOPRnGWf0butmVsik3s3r8TP74tCmUlNH053tmo
 IEtoIFNh1L0ZcpyZT7tI7z5r/LSZ2/E0Yg3t8NhsydHBodSIIF2NdXAN3TjLmmfn
 JUkeJcoT9HjON7VyxY01yg6LiklCJvGfEWhseoW40RBKj/UDtMbC5Og6id2IwEC/
 7KH8O/KU0lLC5/3k+eAtREU1XJrScpgRZ1NUlj98QB7oBbo2IDxm1Wg6LnNW/2zV
 NsAvD+mi6F1GROMat005HmPwb9BFLqbBZ/i2F27BAqDR009zxwrjsKmt4ACRdmPA
 ZtonsGGGKg2/vdgqTNpu
 =nV/9
 -----END PGP SIGNATURE-----

Merge tag 'uniphier-dt64-v4.19' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-uniphier into next/dt

UniPhier ARM64 SoC DT updates for v4.19

- Add missing #cooling-cells properties

- Add hp-det-gpio property to detect headphone via GPIO

* tag 'uniphier-dt64-v4.19' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-uniphier:
  arm64: dts: uniphier: add headphone detect gpio for LD11 global board
  arm64: dts: uniphier: add headphone detect gpio for LD20 global board
  arm64: dts: uniphier: Add missing cooling device properties for CPUs

Signed-off-by: Olof Johansson <olof@lixom.net>
2018-07-21 14:26:49 -07:00

151 lines
2.7 KiB
Plaintext

// SPDX-License-Identifier: GPL-2.0+ OR MIT
//
// Device Tree Source for UniPhier LD20 Global Board
//
// Copyright (C) 2015-2017 Socionext Inc.
// Author: Masahiro Yamada <yamada.masahiro@socionext.com>
// Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
/dts-v1/;
#include <dt-bindings/gpio/uniphier-gpio.h>
#include "uniphier-ld20.dtsi"
/ {
model = "UniPhier LD20 Global Board (REF_LD20_GP)";
compatible = "socionext,uniphier-ld20-global",
"socionext,uniphier-ld20";
chosen {
stdout-path = "serial0:115200n8";
};
aliases {
serial0 = &serial0;
serial1 = &serial1;
serial2 = &serial2;
serial3 = &serial3;
i2c0 = &i2c0;
i2c1 = &i2c1;
i2c2 = &i2c2;
i2c3 = &i2c3;
i2c4 = &i2c4;
i2c5 = &i2c5;
};
memory@80000000 {
device_type = "memory";
reg = <0 0x80000000 0 0xc0000000>;
};
dvdd_reg: reg-fixed {
compatible = "regulator-fixed";
regulator-name = "DVDD";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
};
amp_vcc_reg: reg-fixed {
compatible = "regulator-fixed";
regulator-name = "AMP_VCC";
regulator-min-microvolt = <12000000>;
regulator-max-microvolt = <12000000>;
};
sound {
compatible = "audio-graph-card";
label = "UniPhier LD20";
widgets = "Headphone", "Headphones";
dais = <&i2s_port2
&i2s_port3
&i2s_port4
&spdif_port0
&comp_spdif_port0>;
hp-det-gpio = <&gpio UNIPHIER_GPIO_IRQ(0) GPIO_ACTIVE_LOW>;
};
spdif-out {
compatible = "linux,spdif-dit";
#sound-dai-cells = <0>;
port@0 {
spdif_tx: endpoint {
remote-endpoint = <&spdif_hiecout1>;
};
};
};
comp-spdif-out {
compatible = "linux,spdif-dit";
#sound-dai-cells = <0>;
port@0 {
comp_spdif_tx: endpoint {
remote-endpoint = <&comp_spdif_hiecout1>;
};
};
};
};
&serial0 {
status = "okay";
};
&serial1 {
status = "okay";
};
&i2s_hpcmout1 {
dai-format = "i2s";
remote-endpoint = <&tas_speaker>;
};
&spdif_hiecout1 {
remote-endpoint = <&spdif_tx>;
};
&comp_spdif_hiecout1 {
remote-endpoint = <&comp_spdif_tx>;
};
&i2c0 {
status = "okay";
tas5707@1b {
compatible = "ti,tas5711";
reg = <0x1b>;
reset-gpios = <&gpio UNIPHIER_GPIO_PORT(0, 0) GPIO_ACTIVE_LOW>;
pdn-gpios = <&gpio UNIPHIER_GPIO_PORT(0, 1) GPIO_ACTIVE_LOW>;
#sound-dai-cells = <0>;
AVDD-supply = <&dvdd_reg>;
DVDD-supply = <&dvdd_reg>;
PVDD_A-supply = <&amp_vcc_reg>;
PVDD_B-supply = <&amp_vcc_reg>;
PVDD_C-supply = <&amp_vcc_reg>;
PVDD_D-supply = <&amp_vcc_reg>;
port@0 {
tas_speaker: endpoint {
dai-format = "i2s";
remote-endpoint = <&i2s_hpcmout1>;
};
};
};
};
&eth {
status = "okay";
phy-mode = "rmii";
pinctrl-0 = <&pinctrl_ether_rmii>;
phy-handle = <&ethphy>;
};
&mdio {
ethphy: ethphy@1 {
reg = <1>;
};
};
&nand {
status = "okay";
};