1/* 2 * Device Tree Source for UniPhier LD20 Global Board 3 * 4 * Copyright (C) 2015-2017 Socionext Inc. 5 * Author: Masahiro Yamada <yamada.masahiro@socionext.com> 6 * Kunihiko Hayashi <hayashi.kunihiko@socionext.com> 7 * 8 * SPDX-License-Identifier: (GPL-2.0+ OR MIT) 9 */ 10 11/dts-v1/; 12#include <dt-bindings/gpio/uniphier-gpio.h> 13#include "uniphier-ld20.dtsi" 14 15/ { 16 model = "UniPhier LD20 Global Board (REF_LD20_GP)"; 17 compatible = "socionext,uniphier-ld20-global", 18 "socionext,uniphier-ld20"; 19 20 chosen { 21 stdout-path = "serial0:115200n8"; 22 }; 23 24 aliases { 25 serial0 = &serial0; 26 serial1 = &serial1; 27 serial2 = &serial2; 28 serial3 = &serial3; 29 i2c0 = &i2c0; 30 i2c1 = &i2c1; 31 i2c2 = &i2c2; 32 i2c3 = &i2c3; 33 i2c4 = &i2c4; 34 i2c5 = &i2c5; 35 }; 36 37 memory@80000000 { 38 device_type = "memory"; 39 reg = <0 0x80000000 0 0xc0000000>; 40 }; 41 42 sound { 43 compatible = "audio-graph-card"; 44 label = "UniPhier LD20"; 45 widgets = "Headphone", "Headphone Jack"; 46 dais = <&i2s_port2 47 &i2s_port3 48 &i2s_port4 49 &spdif_port0 50 &comp_spdif_port0>; 51 }; 52 53 spdif-out { 54 compatible = "linux,spdif-dit"; 55 #sound-dai-cells = <0>; 56 57 port@0 { 58 spdif_tx: endpoint { 59 remote-endpoint = <&spdif_hiecout1>; 60 }; 61 }; 62 }; 63 64 comp-spdif-out { 65 compatible = "linux,spdif-dit"; 66 #sound-dai-cells = <0>; 67 68 port@0 { 69 comp_spdif_tx: endpoint { 70 remote-endpoint = <&comp_spdif_hiecout1>; 71 }; 72 }; 73 }; 74}; 75 76&serial0 { 77 status = "okay"; 78}; 79 80&serial1 { 81 status = "okay"; 82}; 83 84&i2s_hpcmout1 { 85 dai-format = "i2s"; 86 remote-endpoint = <&tas_speaker>; 87}; 88 89&spdif_hiecout1 { 90 remote-endpoint = <&spdif_tx>; 91}; 92 93&comp_spdif_hiecout1 { 94 remote-endpoint = <&comp_spdif_tx>; 95}; 96 97&i2c0 { 98 status = "okay"; 99 100 tas5707@1b { 101 compatible = "ti,tas5711"; 102 reg = <0x1b>; 103 reset-gpios = <&gpio UNIPHIER_GPIO_PORT(0, 0) GPIO_ACTIVE_LOW>; 104 pdn-gpios = <&gpio UNIPHIER_GPIO_PORT(0, 1) GPIO_ACTIVE_LOW>; 105 #sound-dai-cells = <0>; 106 107 port@0 { 108 tas_speaker: endpoint { 109 dai-format = "i2s"; 110 remote-endpoint = <&i2s_hpcmout1>; 111 }; 112 }; 113 }; 114}; 115 116&nand { 117 status = "okay"; 118}; 119