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 }; 51 52 spdif-out { 53 compatible = "linux,spdif-dit"; 54 #sound-dai-cells = <0>; 55 56 port@0 { 57 spdif_tx: endpoint { 58 remote-endpoint = <&spdif_hiecout1>; 59 }; 60 }; 61 }; 62}; 63 64&serial0 { 65 status = "okay"; 66}; 67 68&serial1 { 69 status = "okay"; 70}; 71 72&i2s_hpcmout1 { 73 dai-format = "i2s"; 74 remote-endpoint = <&tas_speaker>; 75}; 76 77&spdif_hiecout1 { 78 remote-endpoint = <&spdif_tx>; 79}; 80 81&i2c0 { 82 status = "okay"; 83 84 tas5707a@1d { 85 compatible = "ti,tas5711"; 86 reg = <0x1d>; 87 reset-gpios = <&gpio UNIPHIER_GPIO_PORT(23, 4) GPIO_ACTIVE_LOW>; 88 pdn-gpios = <&gpio UNIPHIER_GPIO_PORT(23, 5) GPIO_ACTIVE_LOW>; 89 #sound-dai-cells = <0>; 90 91 port@0 { 92 tas_speaker: endpoint { 93 dai-format = "i2s"; 94 remote-endpoint = <&i2s_hpcmout1>; 95 }; 96 }; 97 }; 98 99 eeprom@50 { 100 compatible = "st,24c64", "atmel,24c64"; 101 reg = <0x50>; 102 pagesize = <32>; 103 }; 104}; 105 106&usb0 { 107 status = "okay"; 108}; 109 110&usb1 { 111 status = "okay"; 112}; 113 114&usb2 { 115 status = "okay"; 116}; 117 118&nand { 119 status = "okay"; 120}; 121