summaryrefslogtreecommitdiff
path: root/arch/arm64/boot/dts/renesas/salvator-xs.dtsi
blob: 3f7f6cf4a3338125eb9923645edb89ea2643cd0d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
// SPDX-License-Identifier: GPL-2.0
/*
 * Device Tree Source for the Salvator-X 2nd version board
 *
 * Copyright (C) 2015-2017 Renesas Electronics Corp.
 */

#include "salvator-common.dtsi"

/ {
	model = "Renesas Salvator-X 2nd version board";
	compatible = "renesas,salvator-xs";
};

&extal_clk {
	clock-frequency = <16640000>;
};

&i2c4 {
	clock-frequency = <400000>;

	versaclock6: clock-generator@6a {
		compatible = "idt,5p49v6901";
		reg = <0x6a>;
		#clock-cells = <1>;
		clocks = <&x23_clk>;
		clock-names = "xin";
	};
};

#ifdef SOC_HAS_SATA
&pca9654 {
	pcie-sata-switch-hog {
		gpio-hog;
		gpios = <7 GPIO_ACTIVE_HIGH>;
		output-low; /* enable SATA by default */
		line-name = "PCIE/SATA switch";
	};
};

/* SW12-7 must be set 'Off' (MD12 set to 1) which is not the default! */
#endif /* SOC_HAS_SATA */