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 dvdd_reg: reg-fixed { 43 compatible = "regulator-fixed"; 44 regulator-name = "DVDD"; 45 regulator-min-microvolt = <3300000>; 46 regulator-max-microvolt = <3300000>; 47 }; 48 49 amp_vcc_reg: reg-fixed { 50 compatible = "regulator-fixed"; 51 regulator-name = "AMP_VCC"; 52 regulator-min-microvolt = <24000000>; 53 regulator-max-microvolt = <24000000>; 54 }; 55 56 sound { 57 compatible = "audio-graph-card"; 58 label = "UniPhier LD11"; 59 widgets = "Headphone", "Headphone Jack"; 60 dais = <&i2s_port2 61 &i2s_port3 62 &i2s_port4 63 &spdif_port0 64 &comp_spdif_port0>; 65 }; 66 67 spdif-out { 68 compatible = "linux,spdif-dit"; 69 #sound-dai-cells = <0>; 70 71 port@0 { 72 spdif_tx: endpoint { 73 remote-endpoint = <&spdif_hiecout1>; 74 }; 75 }; 76 }; 77 78 comp-spdif-out { 79 compatible = "linux,spdif-dit"; 80 #sound-dai-cells = <0>; 81 82 port@0 { 83 comp_spdif_tx: endpoint { 84 remote-endpoint = <&comp_spdif_hiecout1>; 85 }; 86 }; 87 }; 88}; 89 90&serial0 { 91 status = "okay"; 92}; 93 94&serial1 { 95 status = "okay"; 96}; 97 98&i2s_hpcmout1 { 99 dai-format = "i2s"; 100 remote-endpoint = <&tas_speaker>; 101}; 102 103&spdif_hiecout1 { 104 remote-endpoint = <&spdif_tx>; 105}; 106 107&comp_spdif_hiecout1 { 108 remote-endpoint = <&comp_spdif_tx>; 109}; 110 111&i2c0 { 112 status = "okay"; 113 114 tas5707a@1d { 115 compatible = "ti,tas5711"; 116 reg = <0x1d>; 117 reset-gpios = <&gpio UNIPHIER_GPIO_PORT(23, 4) GPIO_ACTIVE_LOW>; 118 pdn-gpios = <&gpio UNIPHIER_GPIO_PORT(23, 5) GPIO_ACTIVE_LOW>; 119 #sound-dai-cells = <0>; 120 AVDD-supply = <&dvdd_reg>; 121 DVDD-supply = <&dvdd_reg>; 122 PVDD_A-supply = <&_vcc_reg>; 123 PVDD_B-supply = <&_vcc_reg>; 124 PVDD_C-supply = <&_vcc_reg>; 125 PVDD_D-supply = <&_vcc_reg>; 126 127 port@0 { 128 tas_speaker: endpoint { 129 dai-format = "i2s"; 130 remote-endpoint = <&i2s_hpcmout1>; 131 }; 132 }; 133 }; 134 135 eeprom@50 { 136 compatible = "st,24c64", "atmel,24c64"; 137 reg = <0x50>; 138 pagesize = <32>; 139 }; 140}; 141 142&usb0 { 143 status = "okay"; 144}; 145 146&usb1 { 147 status = "okay"; 148}; 149 150&usb2 { 151 status = "okay"; 152}; 153 154ð { 155 status = "okay"; 156 phy-handle = <ðphy>; 157}; 158 159&mdio { 160 ethphy: ethphy@1 { 161 reg = <1>; 162 }; 163}; 164 165&nand { 166 status = "okay"; 167}; 168