1/* 2 * Device Tree Source for UniPhier LD11 Global Board 3 * 4 * Copyright (C) 2016-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-ld11.dtsi" 14 15/ { 16 model = "UniPhier LD11 Global Board (REF_LD11_GP)"; 17 compatible = "socionext,uniphier-ld11-global", 18 "socionext,uniphier-ld11"; 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 0x40000000>; 40 }; 41 42 sound { 43 compatible = "audio-graph-card"; 44 label = "UniPhier LD11"; 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 tas5707a@1d { 101 compatible = "ti,tas5711"; 102 reg = <0x1d>; 103 reset-gpios = <&gpio UNIPHIER_GPIO_PORT(23, 4) GPIO_ACTIVE_LOW>; 104 pdn-gpios = <&gpio UNIPHIER_GPIO_PORT(23, 5) 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 eeprom@50 { 116 compatible = "st,24c64", "atmel,24c64"; 117 reg = <0x50>; 118 pagesize = <32>; 119 }; 120}; 121 122&usb0 { 123 status = "okay"; 124}; 125 126&usb1 { 127 status = "okay"; 128}; 129 130&usb2 { 131 status = "okay"; 132}; 133 134&nand { 135 status = "okay"; 136}; 137