-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ARM: dts: socfpga: Add Google Chameleon v3 devicetree
Add devicetree for the Google Chameleon v3 board. Signed-off-by: Paweł Anikiel <pan@semihalf.com> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Signed-off-by: Dinh Nguyen <dinguyen@kernel.org>
- Loading branch information
Paweł Anikiel
authored and
Dinh Nguyen
committed
Jun 14, 2022
1 parent
162552f
commit 15596df
Showing
2 changed files
with
91 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,90 @@ | ||
// SPDX-License-Identifier: GPL-2.0 | ||
/* | ||
* Copyright 2022 Google LLC | ||
*/ | ||
/dts-v1/; | ||
#include "socfpga_arria10_mercury_aa1.dtsi" | ||
|
||
/ { | ||
model = "Google Chameleon V3"; | ||
compatible = "google,chameleon-v3", "enclustra,mercury-aa1", | ||
"altr,socfpga-arria10", "altr,socfpga"; | ||
|
||
aliases { | ||
serial0 = &uart0; | ||
i2c0 = &i2c0; | ||
i2c1 = &i2c1; | ||
}; | ||
}; | ||
|
||
&gmac0 { | ||
status = "okay"; | ||
}; | ||
|
||
&gpio0 { | ||
status = "okay"; | ||
}; | ||
|
||
&gpio1 { | ||
status = "okay"; | ||
}; | ||
|
||
&gpio2 { | ||
status = "okay"; | ||
}; | ||
|
||
&i2c0 { | ||
status = "okay"; | ||
|
||
ssm2603: audio-codec@1a { | ||
compatible = "adi,ssm2603"; | ||
reg = <0x1a>; | ||
}; | ||
}; | ||
|
||
&i2c1 { | ||
status = "okay"; | ||
|
||
u80: gpio@21 { | ||
compatible = "nxp,pca9535"; | ||
reg = <0x21>; | ||
gpio-controller; | ||
#gpio-cells = <2>; | ||
|
||
gpio-line-names = | ||
"SOM_AUD_MUTE", | ||
"DP1_OUT_CEC_EN", | ||
"DP2_OUT_CEC_EN", | ||
"DP1_SOM_PS8469_CAD", | ||
"DPD_SOM_PS8469_CAD", | ||
"DP_OUT_PWR_EN", | ||
"STM32_RST_L", | ||
"STM32_BOOT0", | ||
|
||
"FPGA_PROT", | ||
"STM32_FPGA_COMM0", | ||
"TP119", | ||
"TP120", | ||
"TP121", | ||
"TP122", | ||
"TP123", | ||
"TP124"; | ||
}; | ||
}; | ||
|
||
&mmc { | ||
status = "okay"; | ||
}; | ||
|
||
&uart0 { | ||
status = "okay"; | ||
}; | ||
|
||
&uart1 { | ||
status = "okay"; | ||
}; | ||
|
||
&usb0 { | ||
status = "okay"; | ||
dr_mode = "host"; | ||
}; |