xref: /linux/scripts/dtc/include-prefixes/arm64/renesas/salvator-xs.dtsi (revision 90a4ee4ba5cf5aae491bae4ad6fe75e05d28cc22)
1cba59c25SWolfram Sang// SPDX-License-Identifier: GPL-2.0
20764c67fSGeert Uytterhoeven/*
30764c67fSGeert Uytterhoeven * Device Tree Source for the Salvator-X 2nd version board
40764c67fSGeert Uytterhoeven *
50764c67fSGeert Uytterhoeven * Copyright (C) 2015-2017 Renesas Electronics Corp.
60764c67fSGeert Uytterhoeven */
70764c67fSGeert Uytterhoeven
80764c67fSGeert Uytterhoeven#include "salvator-common.dtsi"
90764c67fSGeert Uytterhoeven
100764c67fSGeert Uytterhoeven/ {
110764c67fSGeert Uytterhoeven	model = "Renesas Salvator-X 2nd version board";
120764c67fSGeert Uytterhoeven	compatible = "renesas,salvator-xs";
130764c67fSGeert Uytterhoeven};
140764c67fSGeert Uytterhoeven
150764c67fSGeert Uytterhoeven&extal_clk {
160764c67fSGeert Uytterhoeven	clock-frequency = <16640000>;
170764c67fSGeert Uytterhoeven};
18b127daecSLaurent Pinchart
19b127daecSLaurent Pinchart&i2c4 {
2056195dc5STakeshi Kihara	clock-frequency = <400000>;
2156195dc5STakeshi Kihara
22b127daecSLaurent Pinchart	versaclock6: clock-generator@6a {
23b127daecSLaurent Pinchart		compatible = "idt,5p49v6901";
24b127daecSLaurent Pinchart		reg = <0x6a>;
25b127daecSLaurent Pinchart		#clock-cells = <1>;
26b127daecSLaurent Pinchart		clocks = <&x23_clk>;
27b127daecSLaurent Pinchart		clock-names = "xin";
28b127daecSLaurent Pinchart	};
29b127daecSLaurent Pinchart};
30*90a4ee4bSGeert Uytterhoeven
31*90a4ee4bSGeert Uytterhoeven#ifdef SOC_HAS_SATA
32*90a4ee4bSGeert Uytterhoeven&pca9654 {
33*90a4ee4bSGeert Uytterhoeven	pcie-sata-switch-hog {
34*90a4ee4bSGeert Uytterhoeven		gpio-hog;
35*90a4ee4bSGeert Uytterhoeven		gpios = <7 GPIO_ACTIVE_HIGH>;
36*90a4ee4bSGeert Uytterhoeven		output-low; /* enable SATA by default */
37*90a4ee4bSGeert Uytterhoeven		line-name = "PCIE/SATA switch";
38*90a4ee4bSGeert Uytterhoeven	};
39*90a4ee4bSGeert Uytterhoeven};
40*90a4ee4bSGeert Uytterhoeven
41*90a4ee4bSGeert Uytterhoeven/* SW12-7 must be set 'Off' (MD12 set to 1) which is not the default! */
42*90a4ee4bSGeert Uytterhoeven#endif /* SOC_HAS_SATA */
43