1*7d5620d3SMasami Hiramatsu// SPDX-License-Identifier: GPL-2.0+ OR MIT 2*7d5620d3SMasami Hiramatsu// 3*7d5620d3SMasami Hiramatsu// Device Tree Source for Akebi96 Development Board 4*7d5620d3SMasami Hiramatsu// 5*7d5620d3SMasami Hiramatsu// Derived from uniphier-ld20-global.dts. 6*7d5620d3SMasami Hiramatsu// 7*7d5620d3SMasami Hiramatsu// Copyright (C) 2015-2017 Socionext Inc. 8*7d5620d3SMasami Hiramatsu// Copyright (C) 2019-2020 Linaro Ltd. 9*7d5620d3SMasami Hiramatsu 10*7d5620d3SMasami Hiramatsu/dts-v1/; 11*7d5620d3SMasami Hiramatsu#include <dt-bindings/gpio/uniphier-gpio.h> 12*7d5620d3SMasami Hiramatsu#include "uniphier-ld20.dtsi" 13*7d5620d3SMasami Hiramatsu 14*7d5620d3SMasami Hiramatsu/ { 15*7d5620d3SMasami Hiramatsu model = "Akebi96"; 16*7d5620d3SMasami Hiramatsu compatible = "socionext,uniphier-ld20-akebi96", 17*7d5620d3SMasami Hiramatsu "socionext,uniphier-ld20"; 18*7d5620d3SMasami Hiramatsu 19*7d5620d3SMasami Hiramatsu chosen { 20*7d5620d3SMasami Hiramatsu stdout-path = "serial0:115200n8"; 21*7d5620d3SMasami Hiramatsu }; 22*7d5620d3SMasami Hiramatsu 23*7d5620d3SMasami Hiramatsu aliases { 24*7d5620d3SMasami Hiramatsu serial0 = &serial0; 25*7d5620d3SMasami Hiramatsu serial1 = &serial1; 26*7d5620d3SMasami Hiramatsu serial2 = &serial2; 27*7d5620d3SMasami Hiramatsu serial3 = &serial3; 28*7d5620d3SMasami Hiramatsu i2c0 = &i2c0; 29*7d5620d3SMasami Hiramatsu i2c1 = &i2c1; 30*7d5620d3SMasami Hiramatsu i2c2 = &i2c2; 31*7d5620d3SMasami Hiramatsu i2c3 = &i2c3; 32*7d5620d3SMasami Hiramatsu i2c4 = &i2c4; 33*7d5620d3SMasami Hiramatsu i2c5 = &i2c5; 34*7d5620d3SMasami Hiramatsu spi0 = &spi0; 35*7d5620d3SMasami Hiramatsu spi1 = &spi1; 36*7d5620d3SMasami Hiramatsu spi2 = &spi2; 37*7d5620d3SMasami Hiramatsu spi3 = &spi3; 38*7d5620d3SMasami Hiramatsu ethernet0 = ð 39*7d5620d3SMasami Hiramatsu }; 40*7d5620d3SMasami Hiramatsu 41*7d5620d3SMasami Hiramatsu memory@80000000 { 42*7d5620d3SMasami Hiramatsu device_type = "memory"; 43*7d5620d3SMasami Hiramatsu reg = <0 0x80000000 0 0xc0000000>; 44*7d5620d3SMasami Hiramatsu }; 45*7d5620d3SMasami Hiramatsu 46*7d5620d3SMasami Hiramatsu framebuffer@c0000000 { 47*7d5620d3SMasami Hiramatsu compatible = "simple-framebuffer"; 48*7d5620d3SMasami Hiramatsu reg = <0 0xc0000000 0 0x02000000>; 49*7d5620d3SMasami Hiramatsu width = <1920>; 50*7d5620d3SMasami Hiramatsu height = <1080>; 51*7d5620d3SMasami Hiramatsu stride = <7680>; 52*7d5620d3SMasami Hiramatsu format = "a8r8g8b8"; 53*7d5620d3SMasami Hiramatsu }; 54*7d5620d3SMasami Hiramatsu 55*7d5620d3SMasami Hiramatsu reserved-memory { 56*7d5620d3SMasami Hiramatsu #address-cells = <2>; 57*7d5620d3SMasami Hiramatsu #size-cells = <2>; 58*7d5620d3SMasami Hiramatsu ranges; 59*7d5620d3SMasami Hiramatsu 60*7d5620d3SMasami Hiramatsu memory@c0000000 { 61*7d5620d3SMasami Hiramatsu reg = <0 0xc0000000 0 0x02000000>; 62*7d5620d3SMasami Hiramatsu no-map; 63*7d5620d3SMasami Hiramatsu }; 64*7d5620d3SMasami Hiramatsu }; 65*7d5620d3SMasami Hiramatsu 66*7d5620d3SMasami Hiramatsu sound { 67*7d5620d3SMasami Hiramatsu compatible = "audio-graph-card"; 68*7d5620d3SMasami Hiramatsu label = "UniPhier LD20"; 69*7d5620d3SMasami Hiramatsu dais = <&spdif_port0 70*7d5620d3SMasami Hiramatsu &comp_spdif_port0>; 71*7d5620d3SMasami Hiramatsu }; 72*7d5620d3SMasami Hiramatsu 73*7d5620d3SMasami Hiramatsu spdif-out { 74*7d5620d3SMasami Hiramatsu compatible = "linux,spdif-dit"; 75*7d5620d3SMasami Hiramatsu #sound-dai-cells = <0>; 76*7d5620d3SMasami Hiramatsu 77*7d5620d3SMasami Hiramatsu port@0 { 78*7d5620d3SMasami Hiramatsu spdif_tx: endpoint { 79*7d5620d3SMasami Hiramatsu remote-endpoint = <&spdif_hiecout1>; 80*7d5620d3SMasami Hiramatsu }; 81*7d5620d3SMasami Hiramatsu }; 82*7d5620d3SMasami Hiramatsu }; 83*7d5620d3SMasami Hiramatsu 84*7d5620d3SMasami Hiramatsu comp-spdif-out { 85*7d5620d3SMasami Hiramatsu compatible = "linux,spdif-dit"; 86*7d5620d3SMasami Hiramatsu #sound-dai-cells = <0>; 87*7d5620d3SMasami Hiramatsu 88*7d5620d3SMasami Hiramatsu port@0 { 89*7d5620d3SMasami Hiramatsu comp_spdif_tx: endpoint { 90*7d5620d3SMasami Hiramatsu remote-endpoint = <&comp_spdif_hiecout1>; 91*7d5620d3SMasami Hiramatsu }; 92*7d5620d3SMasami Hiramatsu }; 93*7d5620d3SMasami Hiramatsu }; 94*7d5620d3SMasami Hiramatsu 95*7d5620d3SMasami Hiramatsu firmware { 96*7d5620d3SMasami Hiramatsu optee { 97*7d5620d3SMasami Hiramatsu compatible = "linaro,optee-tz"; 98*7d5620d3SMasami Hiramatsu method = "smc"; 99*7d5620d3SMasami Hiramatsu }; 100*7d5620d3SMasami Hiramatsu }; 101*7d5620d3SMasami Hiramatsu}; 102*7d5620d3SMasami Hiramatsu 103*7d5620d3SMasami Hiramatsu&spi3 { 104*7d5620d3SMasami Hiramatsu status = "okay"; 105*7d5620d3SMasami Hiramatsu #address-cells = <1>; 106*7d5620d3SMasami Hiramatsu #size-cells = <0>; 107*7d5620d3SMasami Hiramatsu usb-over-spi@0 { 108*7d5620d3SMasami Hiramatsu compatible = "maxim,max3421-udc"; 109*7d5620d3SMasami Hiramatsu reg = <0>; 110*7d5620d3SMasami Hiramatsu spi-max-frequency = <12500000>; 111*7d5620d3SMasami Hiramatsu interrupt-parent = <&gpio>; 112*7d5620d3SMasami Hiramatsu interrupt-names = "udc"; 113*7d5620d3SMasami Hiramatsu interrupts = <0 2>; 114*7d5620d3SMasami Hiramatsu }; 115*7d5620d3SMasami Hiramatsu}; 116*7d5620d3SMasami Hiramatsu 117*7d5620d3SMasami Hiramatsu&serial0 { 118*7d5620d3SMasami Hiramatsu /* Onboard USB-UART */ 119*7d5620d3SMasami Hiramatsu status = "okay"; 120*7d5620d3SMasami Hiramatsu}; 121*7d5620d3SMasami Hiramatsu 122*7d5620d3SMasami Hiramatsu&serial2 { 123*7d5620d3SMasami Hiramatsu /* LS connector UART1 */ 124*7d5620d3SMasami Hiramatsu status = "okay"; 125*7d5620d3SMasami Hiramatsu}; 126*7d5620d3SMasami Hiramatsu 127*7d5620d3SMasami Hiramatsu&serial3 { 128*7d5620d3SMasami Hiramatsu /* LS connector UART0 */ 129*7d5620d3SMasami Hiramatsu status = "okay"; 130*7d5620d3SMasami Hiramatsu}; 131*7d5620d3SMasami Hiramatsu 132*7d5620d3SMasami Hiramatsu&spdif_hiecout1 { 133*7d5620d3SMasami Hiramatsu remote-endpoint = <&spdif_tx>; 134*7d5620d3SMasami Hiramatsu}; 135*7d5620d3SMasami Hiramatsu 136*7d5620d3SMasami Hiramatsu&comp_spdif_hiecout1 { 137*7d5620d3SMasami Hiramatsu remote-endpoint = <&comp_spdif_tx>; 138*7d5620d3SMasami Hiramatsu}; 139*7d5620d3SMasami Hiramatsu 140*7d5620d3SMasami Hiramatsu&i2c0 { 141*7d5620d3SMasami Hiramatsu /* LS connector I2C0 */ 142*7d5620d3SMasami Hiramatsu status = "okay"; 143*7d5620d3SMasami Hiramatsu}; 144*7d5620d3SMasami Hiramatsu 145*7d5620d3SMasami Hiramatsu&i2c1 { 146*7d5620d3SMasami Hiramatsu /* LS connector I2C1 */ 147*7d5620d3SMasami Hiramatsu status = "okay"; 148*7d5620d3SMasami Hiramatsu}; 149*7d5620d3SMasami Hiramatsu 150*7d5620d3SMasami Hiramatsuð { 151*7d5620d3SMasami Hiramatsu status = "okay"; 152*7d5620d3SMasami Hiramatsu phy-handle = <ðphy>; 153*7d5620d3SMasami Hiramatsu}; 154*7d5620d3SMasami Hiramatsu 155*7d5620d3SMasami Hiramatsu&mdio { 156*7d5620d3SMasami Hiramatsu ethphy: ethphy@0 { 157*7d5620d3SMasami Hiramatsu reg = <0>; 158*7d5620d3SMasami Hiramatsu }; 159*7d5620d3SMasami Hiramatsu}; 160*7d5620d3SMasami Hiramatsu 161*7d5620d3SMasami Hiramatsu&usb { 162*7d5620d3SMasami Hiramatsu status = "okay"; 163*7d5620d3SMasami Hiramatsu}; 164*7d5620d3SMasami Hiramatsu 165*7d5620d3SMasami Hiramatsu&pcie { 166*7d5620d3SMasami Hiramatsu status = "okay"; 167*7d5620d3SMasami Hiramatsu}; 168*7d5620d3SMasami Hiramatsu 169*7d5620d3SMasami Hiramatsu&gpio { 170*7d5620d3SMasami Hiramatsu /* IRQs for Max3421 */ 171*7d5620d3SMasami Hiramatsu xirq0 { 172*7d5620d3SMasami Hiramatsu gpio-hog; 173*7d5620d3SMasami Hiramatsu gpios = <UNIPHIER_GPIO_IRQ(0) 1>; 174*7d5620d3SMasami Hiramatsu input; 175*7d5620d3SMasami Hiramatsu }; 176*7d5620d3SMasami Hiramatsu xirq10 { 177*7d5620d3SMasami Hiramatsu gpio-hog; 178*7d5620d3SMasami Hiramatsu gpios = <UNIPHIER_GPIO_IRQ(10) 1>; 179*7d5620d3SMasami Hiramatsu input; 180*7d5620d3SMasami Hiramatsu }; 181*7d5620d3SMasami Hiramatsu}; 182*7d5620d3SMasami Hiramatsu 183*7d5620d3SMasami Hiramatsu&pinctrl_aout1 { 184*7d5620d3SMasami Hiramatsu groups = "aout1b"; 185*7d5620d3SMasami Hiramatsu}; 186*7d5620d3SMasami Hiramatsu 187*7d5620d3SMasami Hiramatsu&pinctrl_uart3 { 188*7d5620d3SMasami Hiramatsu groups = "uart3", "uart3_ctsrts"; 189*7d5620d3SMasami Hiramatsu}; 190