Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0
0002 /*
0003  * Copyright 2022 Google LLC
0004  */
0005 /dts-v1/;
0006 #include "socfpga_arria10_mercury_aa1.dtsi"
0007 
0008 / {
0009         model = "Google Chameleon V3";
0010         compatible = "google,chameleon-v3", "enclustra,mercury-aa1",
0011                      "altr,socfpga-arria10", "altr,socfpga";
0012 
0013         aliases {
0014                 serial0 = &uart0;
0015                 i2c0 = &i2c0;
0016                 i2c1 = &i2c1;
0017         };
0018 };
0019 
0020 &gmac0 {
0021         status = "okay";
0022 };
0023 
0024 &gpio0 {
0025         status = "okay";
0026 };
0027 
0028 &gpio1 {
0029         status = "okay";
0030 };
0031 
0032 &gpio2 {
0033         status = "okay";
0034 };
0035 
0036 &i2c0 {
0037         status = "okay";
0038 
0039         ssm2603: audio-codec@1a {
0040                 compatible = "adi,ssm2603";
0041                 reg = <0x1a>;
0042         };
0043 };
0044 
0045 &i2c1 {
0046         status = "okay";
0047 
0048         u80: gpio@21 {
0049                 compatible = "nxp,pca9535";
0050                 reg = <0x21>;
0051                 gpio-controller;
0052                 #gpio-cells = <2>;
0053 
0054                 gpio-line-names =
0055                         "SOM_AUD_MUTE",
0056                         "DP1_OUT_CEC_EN",
0057                         "DP2_OUT_CEC_EN",
0058                         "DP1_SOM_PS8469_CAD",
0059                         "DPD_SOM_PS8469_CAD",
0060                         "DP_OUT_PWR_EN",
0061                         "STM32_RST_L",
0062                         "STM32_BOOT0",
0063 
0064                         "FPGA_PROT",
0065                         "STM32_FPGA_COMM0",
0066                         "TP119",
0067                         "TP120",
0068                         "TP121",
0069                         "TP122",
0070                         "TP123",
0071                         "TP124";
0072         };
0073 };
0074 
0075 &mmc {
0076         status = "okay";
0077 };
0078 
0079 &uart0 {
0080         status = "okay";
0081 };
0082 
0083 &uart1 {
0084         status = "okay";
0085 };
0086 
0087 &usb0 {
0088         status = "okay";
0089         dr_mode = "host";
0090 };