196f5a269SKunihiko Hayashi/* 296f5a269SKunihiko Hayashi * Device Tree Source for UniPhier LD11 Global Board 396f5a269SKunihiko Hayashi * 496f5a269SKunihiko Hayashi * Copyright (C) 2016-2017 Socionext Inc. 596f5a269SKunihiko Hayashi * Author: Masahiro Yamada <yamada.masahiro@socionext.com> 696f5a269SKunihiko Hayashi * Kunihiko Hayashi <hayashi.kunihiko@socionext.com> 796f5a269SKunihiko Hayashi * 896f5a269SKunihiko Hayashi * SPDX-License-Identifier: (GPL-2.0+ OR MIT) 996f5a269SKunihiko Hayashi */ 1096f5a269SKunihiko Hayashi 1196f5a269SKunihiko Hayashi/dts-v1/; 125aad7e2dSKatsuhiro Suzuki#include <dt-bindings/gpio/uniphier-gpio.h> 135740ea4eSMasahiro Yamada#include "uniphier-ld11.dtsi" 1496f5a269SKunihiko Hayashi 1596f5a269SKunihiko Hayashi/ { 1696f5a269SKunihiko Hayashi model = "UniPhier LD11 Global Board (REF_LD11_GP)"; 1796f5a269SKunihiko Hayashi compatible = "socionext,uniphier-ld11-global", 1896f5a269SKunihiko Hayashi "socionext,uniphier-ld11"; 1996f5a269SKunihiko Hayashi 2096f5a269SKunihiko Hayashi chosen { 2196f5a269SKunihiko Hayashi stdout-path = "serial0:115200n8"; 2296f5a269SKunihiko Hayashi }; 2396f5a269SKunihiko Hayashi 2496f5a269SKunihiko Hayashi aliases { 2596f5a269SKunihiko Hayashi serial0 = &serial0; 2696f5a269SKunihiko Hayashi serial1 = &serial1; 2796f5a269SKunihiko Hayashi serial2 = &serial2; 2896f5a269SKunihiko Hayashi serial3 = &serial3; 2996f5a269SKunihiko Hayashi i2c0 = &i2c0; 3096f5a269SKunihiko Hayashi i2c1 = &i2c1; 3196f5a269SKunihiko Hayashi i2c2 = &i2c2; 3296f5a269SKunihiko Hayashi i2c3 = &i2c3; 3396f5a269SKunihiko Hayashi i2c4 = &i2c4; 3496f5a269SKunihiko Hayashi i2c5 = &i2c5; 3596f5a269SKunihiko Hayashi }; 3696f5a269SKunihiko Hayashi 3796f5a269SKunihiko Hayashi memory@80000000 { 3896f5a269SKunihiko Hayashi device_type = "memory"; 3996f5a269SKunihiko Hayashi reg = <0 0x80000000 0 0x40000000>; 4096f5a269SKunihiko Hayashi }; 41fb21a0acSKatsuhiro Suzuki 42fb21a0acSKatsuhiro Suzuki sound { 43fb21a0acSKatsuhiro Suzuki compatible = "audio-graph-card"; 44fb21a0acSKatsuhiro Suzuki label = "UniPhier LD11"; 45fb21a0acSKatsuhiro Suzuki widgets = "Headphone", "Headphone Jack"; 46fb21a0acSKatsuhiro Suzuki dais = <&i2s_port2 475aad7e2dSKatsuhiro Suzuki &i2s_port3 48fb21a0acSKatsuhiro Suzuki &i2s_port4 49*acc625deSKatsuhiro Suzuki &spdif_port0 50*acc625deSKatsuhiro Suzuki &comp_spdif_port0>; 51fb21a0acSKatsuhiro Suzuki }; 52fb21a0acSKatsuhiro Suzuki 53fb21a0acSKatsuhiro Suzuki spdif-out { 54fb21a0acSKatsuhiro Suzuki compatible = "linux,spdif-dit"; 55fb21a0acSKatsuhiro Suzuki #sound-dai-cells = <0>; 56fb21a0acSKatsuhiro Suzuki 57fb21a0acSKatsuhiro Suzuki port@0 { 58fb21a0acSKatsuhiro Suzuki spdif_tx: endpoint { 59fb21a0acSKatsuhiro Suzuki remote-endpoint = <&spdif_hiecout1>; 60fb21a0acSKatsuhiro Suzuki }; 61fb21a0acSKatsuhiro Suzuki }; 62fb21a0acSKatsuhiro Suzuki }; 63*acc625deSKatsuhiro Suzuki 64*acc625deSKatsuhiro Suzuki comp-spdif-out { 65*acc625deSKatsuhiro Suzuki compatible = "linux,spdif-dit"; 66*acc625deSKatsuhiro Suzuki #sound-dai-cells = <0>; 67*acc625deSKatsuhiro Suzuki 68*acc625deSKatsuhiro Suzuki port@0 { 69*acc625deSKatsuhiro Suzuki comp_spdif_tx: endpoint { 70*acc625deSKatsuhiro Suzuki remote-endpoint = <&comp_spdif_hiecout1>; 71*acc625deSKatsuhiro Suzuki }; 72*acc625deSKatsuhiro Suzuki }; 73*acc625deSKatsuhiro Suzuki }; 7496f5a269SKunihiko Hayashi}; 7596f5a269SKunihiko Hayashi 7696f5a269SKunihiko Hayashi&serial0 { 7796f5a269SKunihiko Hayashi status = "okay"; 7896f5a269SKunihiko Hayashi}; 7996f5a269SKunihiko Hayashi 8096f5a269SKunihiko Hayashi&serial1 { 8196f5a269SKunihiko Hayashi status = "okay"; 8296f5a269SKunihiko Hayashi}; 8396f5a269SKunihiko Hayashi 845aad7e2dSKatsuhiro Suzuki&i2s_hpcmout1 { 855aad7e2dSKatsuhiro Suzuki dai-format = "i2s"; 865aad7e2dSKatsuhiro Suzuki remote-endpoint = <&tas_speaker>; 875aad7e2dSKatsuhiro Suzuki}; 885aad7e2dSKatsuhiro Suzuki 89fb21a0acSKatsuhiro Suzuki&spdif_hiecout1 { 90fb21a0acSKatsuhiro Suzuki remote-endpoint = <&spdif_tx>; 91fb21a0acSKatsuhiro Suzuki}; 92fb21a0acSKatsuhiro Suzuki 93*acc625deSKatsuhiro Suzuki&comp_spdif_hiecout1 { 94*acc625deSKatsuhiro Suzuki remote-endpoint = <&comp_spdif_tx>; 95*acc625deSKatsuhiro Suzuki}; 96*acc625deSKatsuhiro Suzuki 9796f5a269SKunihiko Hayashi&i2c0 { 9896f5a269SKunihiko Hayashi status = "okay"; 9996f5a269SKunihiko Hayashi 1005aad7e2dSKatsuhiro Suzuki tas5707a@1d { 1015aad7e2dSKatsuhiro Suzuki compatible = "ti,tas5711"; 1025aad7e2dSKatsuhiro Suzuki reg = <0x1d>; 1035aad7e2dSKatsuhiro Suzuki reset-gpios = <&gpio UNIPHIER_GPIO_PORT(23, 4) GPIO_ACTIVE_LOW>; 1045aad7e2dSKatsuhiro Suzuki pdn-gpios = <&gpio UNIPHIER_GPIO_PORT(23, 5) GPIO_ACTIVE_LOW>; 1055aad7e2dSKatsuhiro Suzuki #sound-dai-cells = <0>; 1065aad7e2dSKatsuhiro Suzuki 1075aad7e2dSKatsuhiro Suzuki port@0 { 1085aad7e2dSKatsuhiro Suzuki tas_speaker: endpoint { 1095aad7e2dSKatsuhiro Suzuki dai-format = "i2s"; 1105aad7e2dSKatsuhiro Suzuki remote-endpoint = <&i2s_hpcmout1>; 1115aad7e2dSKatsuhiro Suzuki }; 1125aad7e2dSKatsuhiro Suzuki }; 1135aad7e2dSKatsuhiro Suzuki }; 1145aad7e2dSKatsuhiro Suzuki 11596f5a269SKunihiko Hayashi eeprom@50 { 11696f5a269SKunihiko Hayashi compatible = "st,24c64", "atmel,24c64"; 11796f5a269SKunihiko Hayashi reg = <0x50>; 11896f5a269SKunihiko Hayashi pagesize = <32>; 11996f5a269SKunihiko Hayashi }; 12096f5a269SKunihiko Hayashi}; 12196f5a269SKunihiko Hayashi 12296f5a269SKunihiko Hayashi&usb0 { 12396f5a269SKunihiko Hayashi status = "okay"; 12496f5a269SKunihiko Hayashi}; 12596f5a269SKunihiko Hayashi 12696f5a269SKunihiko Hayashi&usb1 { 12796f5a269SKunihiko Hayashi status = "okay"; 12896f5a269SKunihiko Hayashi}; 12996f5a269SKunihiko Hayashi 13096f5a269SKunihiko Hayashi&usb2 { 13196f5a269SKunihiko Hayashi status = "okay"; 13296f5a269SKunihiko Hayashi}; 133e5aefb38SMasahiro Yamada 134e5aefb38SMasahiro Yamada&nand { 135e5aefb38SMasahiro Yamada status = "okay"; 136e5aefb38SMasahiro Yamada}; 137