| /* |
| * 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> |
| * |
| * SPDX-License-Identifier: (GPL-2.0+ OR MIT) |
| */ |
| |
| /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>; |
| }; |
| |
| sound { |
| compatible = "audio-graph-card"; |
| label = "UniPhier LD20"; |
| widgets = "Headphone", "Headphone Jack"; |
| dais = <&i2s_port2 |
| &i2s_port3 |
| &i2s_port4 |
| &spdif_port0>; |
| }; |
| |
| spdif-out { |
| compatible = "linux,spdif-dit"; |
| #sound-dai-cells = <0>; |
| |
| port@0 { |
| spdif_tx: endpoint { |
| remote-endpoint = <&spdif_hiecout1>; |
| }; |
| }; |
| }; |
| }; |
| |
| &serial0 { |
| status = "okay"; |
| }; |
| |
| &serial1 { |
| status = "okay"; |
| }; |
| |
| &i2s_hpcmout1 { |
| dai-format = "i2s"; |
| remote-endpoint = <&tas_speaker>; |
| }; |
| |
| &spdif_hiecout1 { |
| remote-endpoint = <&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>; |
| |
| port@0 { |
| tas_speaker: endpoint { |
| dai-format = "i2s"; |
| remote-endpoint = <&i2s_hpcmout1>; |
| }; |
| }; |
| }; |
| }; |
| |
| &nand { |
| status = "okay"; |
| }; |