diff options
Diffstat (limited to 'dts/upstream/src/arm64/amlogic/meson-g12b-a311d-bananapi-m2s.dts')
-rw-r--r-- | dts/upstream/src/arm64/amlogic/meson-g12b-a311d-bananapi-m2s.dts | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/dts/upstream/src/arm64/amlogic/meson-g12b-a311d-bananapi-m2s.dts b/dts/upstream/src/arm64/amlogic/meson-g12b-a311d-bananapi-m2s.dts new file mode 100644 index 00000000000..ac6f7ae1d10 --- /dev/null +++ b/dts/upstream/src/arm64/amlogic/meson-g12b-a311d-bananapi-m2s.dts @@ -0,0 +1,37 @@ +// 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"; +}; + +&npu { + status = "okay"; +}; |