summaryrefslogtreecommitdiff
path: root/dts/upstream/src/arm64/cix/sky1-xcp.dts
blob: 1fae52dc9bb0256acd78b91dad24e9f1d8f863cb (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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
// SPDX-License-Identifier: BSD-3-Clause
/*
 * Copyright 2025 Cix Technology Group Co., Ltd.
 *
 */

/dts-v1/;

#include "sky1.dtsi"
#include "sky1-pinfunc.h"

/ {
	model = "Xunlong,OrangePi 6 Plus";
	compatible = "xunlong,orangepi-6-plus", "cix,sky1";

	aliases {
		serial2 = &uart2;
	};

	chosen {
		stdout-path = &uart2;
	};

	reserved-memory {
		#address-cells = <2>;
		#size-cells = <2>;
		ranges;

		linux,cma {
			compatible = "shared-dma-pool";
			reusable;
			size = <0x0 0x28000000>;
			linux,cma-default;
		};
	};

};

&iomuxc {
	pinctrl-names = "default";
	pinctrl-0 = <&pinctrl_hog>;

	pinctrl_hog: hog-cfg {
		pins {
			pinmux = <CIX_PAD_GPIO144_FUNC_GPIO144>,
				<CIX_PAD_GPIO145_FUNC_GPIO145>,
				<CIX_PAD_GPIO146_FUNC_GPIO146>,
				<CIX_PAD_GPIO147_FUNC_GPIO147>;
			bias-pull-down;
			drive-strength = <8>;
		};
	};
};

&iomuxc_s5 {
	pinctrl-names = "default";
	pinctrl-0 = <&pinctrl_hog_s5>;

	pinctrl_hog_s5: hog-s5-cfg {
		pins {
			pinmux = <CIX_PAD_GPIO014_FUNC_GPIO014>;
			bias-pull-up;
			drive-strength = <8>;

		};
	};
};

&pcie_x8_rc {
	status = "okay";
};

&pcie_x2_rc {
	status = "okay";
};

&pcie_x1_1_rc {
	status = "okay";
};

&uart2 {
	status = "okay";
};