1*14e14723SChristian Hewitt// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2*14e14723SChristian Hewitt/*
3*14e14723SChristian Hewitt * Copyright (c) 2023 Christian Hewitt <christianshewitt@gmail.com>
4*14e14723SChristian Hewitt */
5*14e14723SChristian Hewitt
6*14e14723SChristian Hewitt/dts-v1/;
7*14e14723SChristian Hewitt
8*14e14723SChristian Hewitt#include "meson-g12b-a311d.dtsi"
9*14e14723SChristian Hewitt#include "meson-g12b-bananapi.dtsi"
10*14e14723SChristian Hewitt
11*14e14723SChristian Hewitt/ {
12*14e14723SChristian Hewitt	compatible = "bananapi,bpi-m2s", "amlogic,a311d", "amlogic,g12b";
13*14e14723SChristian Hewitt	model = "BananaPi M2S";
14*14e14723SChristian Hewitt
15*14e14723SChristian Hewitt	aliases {
16*14e14723SChristian Hewitt		i2c0 = &i2c1;
17*14e14723SChristian Hewitt		i2c1 = &i2c3;
18*14e14723SChristian Hewitt	};
19*14e14723SChristian Hewitt};
20*14e14723SChristian Hewitt
21*14e14723SChristian Hewitt/* Camera (CSI) bus */
22*14e14723SChristian Hewitt&i2c1 {
23*14e14723SChristian Hewitt	status = "okay";
24*14e14723SChristian Hewitt	pinctrl-0 = <&i2c1_sda_h6_pins>, <&i2c1_sck_h7_pins>;
25*14e14723SChristian Hewitt	pinctrl-names = "default";
26*14e14723SChristian Hewitt};
27*14e14723SChristian Hewitt
28*14e14723SChristian Hewitt/* Display (DSI) bus */
29*14e14723SChristian Hewitt&i2c3 {
30*14e14723SChristian Hewitt	status = "okay";
31*14e14723SChristian Hewitt	pinctrl-0 = <&i2c3_sda_a_pins>, <&i2c3_sck_a_pins>;
32*14e14723SChristian Hewitt	pinctrl-names = "default";
33*14e14723SChristian Hewitt};
34*14e14723SChristian Hewitt
35*14e14723SChristian Hewitt&npu {
36*14e14723SChristian Hewitt	status = "okay";
37*14e14723SChristian Hewitt};
38