kernel-brax3-ubuntu-touch/arch/arm64/boot/dts/mediatek/cust_mt6835_camera_v4l2.dtsi
erascape f319b992b1 kernel-5.15: Initial import brax3 UT kernel
* halium configs enabled

Signed-off-by: erascape <erascape@proton.me>
2025-09-23 15:17:10 +00:00

73 lines
1.2 KiB
Text

// SPDX-License-Identifier: GPL-2.0
/* Copyright (c) 2020 MediaTek Inc. */
&i2c6 {
lm3643:lm3643@63 {
compatible = "mediatek,lm3643";
reg = <0x63>;
#cooling-cells = <2>;
pinctrl-names = "default", "hwen-high", "hwen-low";
pinctrl-0 = <&lm3643_pins_default>;
pinctrl-1 = <&lm3643_pins_hwen_high>;
pinctrl-2 = <&lm3643_pins_hwen_low>;
status = "okay";
flash@0{
reg = <0>;
type = <0>;
ct = <0>;
part = <0>;
port@0 {
fl_core_0: endpoint {
remote-endpoint = <&flashlight_0>;
};
};
};
flash@1{
reg = <1>;
type = <0>;
ct = <1>;
part = <0>;
port@1 {
fl_core_1: endpoint {
remote-endpoint = <&flashlight_1>;
};
};
};
};
};
&pio {
lm3643_pins_default: default {
};
lm3643_pins_hwen_high: hwen-high {
pins-cmd-dat {
pinmux = <PINMUX_GPIO7__FUNC_GPIO7>;
slew-rate = <1>;
output-high;
};
};
lm3643_pins_hwen_low: hwen-low {
pins-cmd-dat {
pinmux = <PINMUX_GPIO7__FUNC_GPIO7>;
slew-rate = <1>;
output-low;
};
};
};
&mtk_composite_v4l2_1 {
port@0 {
flashlight_0: endpoint {
remote-endpoint = <&fl_core_0>;
};
};
port@1 {
flashlight_1: endpoint {
remote-endpoint = <&fl_core_1>;
};
};
};