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