summaryrefslogtreecommitdiff
path: root/arch/arm64/boot/dts/blaize/blaize-blzp1600-cb2.dts
blob: 7e3cef2ed3522e202487e799b2021cd45398e006 (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: GPL-2.0+
/*
 * Copyright (c) 2024 Blaize, Inc. All rights reserved.
 */

/dts-v1/;

#include "blaize-blzp1600-som.dtsi"

/ {
	model = "Blaize BLZP1600 SoM1600P CB2 Development Board";

	compatible = "blaize,blzp1600-cb2", "blaize,blzp1600";

	aliases {
		serial0 = &uart0;
	};

	chosen {
		stdout-path = "serial0:115200";
	};
};

&i2c0 {
	clock-frequency = <100000>;
	status = "okay";
};

&i2c1 {
	clock-frequency = <100000>;
	status = "okay";
};

&i2c3 {
	clock-frequency = <100000>;
	status = "okay";

	gpio_expander: gpio@74 {
		compatible = "ti,tca9539";
		reg = <0x74>;
		gpio-controller;
		#gpio-cells = <2>;
		gpio-line-names = "RSP_PIN_7",	/* GPIO_0 */
				  "RSP_PIN_11",	/* GPIO_1 */
				  "RSP_PIN_13",	/* GPIO_2 */
				  "RSP_PIN_15",	/* GPIO_3 */
				  "RSP_PIN_27",	/* GPIO_4 */
				  "RSP_PIN_29",	/* GPIO_5 */
				  "RSP_PIN_31",	/* GPIO_6 */
				  "RSP_PIN_33",	/* GPIO_7 */
				  "RSP_PIN_37",	/* GPIO_8 */
				  "RSP_PIN_16",	/* GPIO_9 */
				  "RSP_PIN_18",	/* GPIO_10 */
				  "RSP_PIN_22",	/* GPIO_11 */
				  "RSP_PIN_28",	/* GPIO_12 */
				  "RSP_PIN_32",	/* GPIO_13 */
				  "RSP_PIN_36",	/* GPIO_14 */
				  "TP31";	/* GPIO_15 */
	};

	gpio_expander_m2: gpio@75 {
		compatible = "ti,tca9539";
		reg = <0x75>;
		gpio-controller;
		#gpio-cells = <2>;
		gpio-line-names = "M2_W_DIS1_N",	/* GPIO_0 */
				  "M2_W_DIS2_N",	/* GPIO_1 */
				  "M2_UART_WAKE_N",	/* GPIO_2 */
				  "M2_COEX3",		/* GPIO_3 */
				  "M2_COEX_RXD",	/* GPIO_4 */
				  "M2_COEX_TXD",	/* GPIO_5 */
				  "M2_VENDOR_PIN40",	/* GPIO_6 */
				  "M2_VENDOR_PIN42",	/* GPIO_7 */
				  "M2_VENDOR_PIN38",	/* GPIO_8 */
				  "M2_SDIO_RST_N",	/* GPIO_9 */
				  "M2_SDIO_WAKE_N",	/* GPIO_10 */
				  "M2_PETN1",		/* GPIO_11 */
				  "M2_PERP1",		/* GPIO_12 */
				  "M2_PERN1",		/* GPIO_13 */
				  "UIM_SWP",		/* GPIO_14 */
				  "UART1_TO_RSP";	/* GPIO_15 */
	};
};