0001 // SPDX-License-Identifier: GPL-2.0+ OR MIT
0002 //
0003 // Device Tree Source for Akebi96 Development Board
0004 //
0005 // Derived from uniphier-ld20-global.dts.
0006 //
0007 // Copyright (C) 2015-2017 Socionext Inc.
0008 // Copyright (C) 2019-2020 Linaro Ltd.
0009
0010 /dts-v1/;
0011 #include <dt-bindings/gpio/uniphier-gpio.h>
0012 #include "uniphier-ld20.dtsi"
0013
0014 / {
0015 model = "Akebi96";
0016 compatible = "socionext,uniphier-ld20-akebi96",
0017 "socionext,uniphier-ld20";
0018
0019 chosen {
0020 stdout-path = "serial0:115200n8";
0021 };
0022
0023 aliases {
0024 serial0 = &serial0;
0025 serial1 = &serial1;
0026 serial2 = &serial2;
0027 serial3 = &serial3;
0028 i2c0 = &i2c0;
0029 i2c1 = &i2c1;
0030 i2c2 = &i2c2;
0031 i2c3 = &i2c3;
0032 i2c4 = &i2c4;
0033 i2c5 = &i2c5;
0034 spi0 = &spi0;
0035 spi1 = &spi1;
0036 spi2 = &spi2;
0037 spi3 = &spi3;
0038 ethernet0 = ð
0039 };
0040
0041 memory@80000000 {
0042 device_type = "memory";
0043 reg = <0 0x80000000 0 0xc0000000>;
0044 };
0045
0046 framebuffer@c0000000 {
0047 compatible = "simple-framebuffer";
0048 reg = <0 0xc0000000 0 0x02000000>;
0049 width = <1920>;
0050 height = <1080>;
0051 stride = <7680>;
0052 format = "a8r8g8b8";
0053 };
0054
0055 reserved-memory {
0056 #address-cells = <2>;
0057 #size-cells = <2>;
0058 ranges;
0059
0060 memory@c0000000 {
0061 reg = <0 0xc0000000 0 0x02000000>;
0062 no-map;
0063 };
0064 };
0065
0066 sound {
0067 compatible = "audio-graph-card";
0068 label = "UniPhier LD20";
0069 dais = <&spdif_port0
0070 &comp_spdif_port0>;
0071 };
0072
0073 spdif-out {
0074 compatible = "linux,spdif-dit";
0075 #sound-dai-cells = <0>;
0076
0077 port@0 {
0078 spdif_tx: endpoint {
0079 remote-endpoint = <&spdif_hiecout1>;
0080 };
0081 };
0082 };
0083
0084 comp-spdif-out {
0085 compatible = "linux,spdif-dit";
0086 #sound-dai-cells = <0>;
0087
0088 port@0 {
0089 comp_spdif_tx: endpoint {
0090 remote-endpoint = <&comp_spdif_hiecout1>;
0091 };
0092 };
0093 };
0094
0095 firmware {
0096 optee {
0097 compatible = "linaro,optee-tz";
0098 method = "smc";
0099 };
0100 };
0101 };
0102
0103 &spi3 {
0104 status = "okay";
0105 #address-cells = <1>;
0106 #size-cells = <0>;
0107 usb-over-spi@0 {
0108 compatible = "maxim,max3421-udc";
0109 reg = <0>;
0110 spi-max-frequency = <12500000>;
0111 interrupt-parent = <&gpio>;
0112 interrupt-names = "udc";
0113 interrupts = <0 2>;
0114 };
0115 };
0116
0117 &serial0 {
0118 /* Onboard USB-UART */
0119 status = "okay";
0120 };
0121
0122 &serial2 {
0123 /* LS connector UART1 */
0124 status = "okay";
0125 };
0126
0127 &serial3 {
0128 /* LS connector UART0 */
0129 status = "okay";
0130 };
0131
0132 &spdif_hiecout1 {
0133 remote-endpoint = <&spdif_tx>;
0134 };
0135
0136 &comp_spdif_hiecout1 {
0137 remote-endpoint = <&comp_spdif_tx>;
0138 };
0139
0140 &i2c0 {
0141 /* LS connector I2C0 */
0142 status = "okay";
0143 };
0144
0145 &i2c1 {
0146 /* LS connector I2C1 */
0147 status = "okay";
0148 };
0149
0150 ð {
0151 status = "okay";
0152 phy-handle = <ðphy>;
0153 };
0154
0155 &mdio {
0156 ethphy: ethernet-phy@0 {
0157 reg = <0>;
0158 };
0159 };
0160
0161 &usb {
0162 status = "okay";
0163 };
0164
0165 &pcie {
0166 status = "okay";
0167 };
0168
0169 &gpio {
0170 /* IRQs for Max3421 */
0171 xirq0 {
0172 gpio-hog;
0173 gpios = <UNIPHIER_GPIO_IRQ(0) 1>;
0174 input;
0175 };
0176 xirq10 {
0177 gpio-hog;
0178 gpios = <UNIPHIER_GPIO_IRQ(10) 1>;
0179 input;
0180 };
0181 };
0182
0183 &pinctrl_aout1 {
0184 groups = "aout1b";
0185 };
0186
0187 &pinctrl_uart3 {
0188 groups = "uart3", "uart3_ctsrts";
0189 };