~funderscore blog cgit wiki get in touch
aboutsummaryrefslogtreecommitdiff
blob: 31365316b2e614a3daddc8b7c4a7181cc91a4356 (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
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
/*
 * Copyright (c) 2023 Christian Hewitt <christianshewitt@gmail.com>
 */

/dts-v1/;

#include "meson-g12b-a311d.dtsi"
#include "meson-g12b-bananapi.dtsi"

/ {
	compatible = "bananapi,bpi-m2s", "amlogic,a311d", "amlogic,g12b";
	model = "BananaPi M2S";

	aliases {
		i2c0 = &i2c1;
		i2c1 = &i2c3;
	};
};

/* Camera (CSI) bus */
&i2c1 {
	status = "okay";
	pinctrl-0 = <&i2c1_sda_h6_pins>, <&i2c1_sck_h7_pins>;
	pinctrl-names = "default";
};

/* Display (DSI) bus */
&i2c3 {
	status = "okay";
	pinctrl-0 = <&i2c3_sda_a_pins>, <&i2c3_sck_a_pins>;
	pinctrl-names = "default";
};