You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1908 lines
48 KiB
1908 lines
48 KiB
/*
|
|
* Copyright (c) 2020, The Linux Foundation. All rights reserved.
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License version 2 and
|
|
* only version 2 as published by the Free Software Foundation.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*/
|
|
|
|
&soc {
|
|
qcom,cam-req-mgr {
|
|
compatible = "qcom,cam-req-mgr";
|
|
status = "ok";
|
|
};
|
|
|
|
cam_csiphy0: qcom,csiphy@ac65000 {
|
|
cell-index = <0>;
|
|
compatible = "qcom,csiphy-v1.1", "qcom,csiphy";
|
|
reg = <0x0ac65000 0x1000>;
|
|
reg-names = "csiphy";
|
|
reg-cam-base = <0x65000>;
|
|
interrupts = <0 477 0>;
|
|
interrupt-names = "csiphy";
|
|
gdscr-supply = <&titan_top_gdsc>;
|
|
csi-vdd-voltage = <1200000>;
|
|
mipi-csi-vdd-supply = <&pm8195_3_l5>;
|
|
mipi-csi-vdd1p2-supply = <&pm8195_1_l9>;
|
|
regulator-names = "gdscr", "mipi-csi-vdd", "mipi-csi-vdd1p2";
|
|
rgltr-cntrl-support;
|
|
rgltr-min-voltage = <0 880000 1200000>;
|
|
rgltr-max-voltage = <0 880000 1200000>;
|
|
rgltr-load-current = <0 36000 21800>;
|
|
clocks = <&clock_camcc CAM_CC_CPHY_RX_CLK_SRC>,
|
|
<&clock_camcc CAM_CC_CSIPHY0_CLK>,
|
|
<&clock_camcc CAM_CC_CSI0PHYTIMER_CLK_SRC>,
|
|
<&clock_camcc CAM_CC_CSI0PHYTIMER_CLK>;
|
|
clock-names = "cphy_rx_clk_src",
|
|
"csiphy0_clk",
|
|
"csi0phytimer_clk_src",
|
|
"csi0phytimer_clk";
|
|
src-clock-name = "csi0phytimer_clk_src";
|
|
clock-cntl-level = "turbo";
|
|
clock-rates =
|
|
<400000000 0 300000000 0>;
|
|
status = "ok";
|
|
};
|
|
|
|
cam_csiphy1: qcom,csiphy@ac66000{
|
|
cell-index = <1>;
|
|
compatible = "qcom,csiphy-v1.1", "qcom,csiphy";
|
|
reg = <0xac66000 0x1000>;
|
|
reg-names = "csiphy";
|
|
reg-cam-base = <0x66000>;
|
|
interrupts = <0 478 0>;
|
|
interrupt-names = "csiphy";
|
|
gdscr-supply = <&titan_top_gdsc>;
|
|
csi-vdd-voltage = <1200000>;
|
|
mipi-csi-vdd-supply = <&pm8195_3_l5>;
|
|
mipi-csi-vdd1p2-supply = <&pm8195_1_l9>;
|
|
regulator-names = "gdscr", "mipi-csi-vdd", "mipi-csi-vdd1p2";
|
|
rgltr-cntrl-support;
|
|
rgltr-min-voltage = <0 880000 1200000>;
|
|
rgltr-max-voltage = <0 880000 1200000>;
|
|
rgltr-load-current = <0 36000 21800>;
|
|
clocks = <&clock_camcc CAM_CC_CPHY_RX_CLK_SRC>,
|
|
<&clock_camcc CAM_CC_CSIPHY1_CLK>,
|
|
<&clock_camcc CAM_CC_CSI1PHYTIMER_CLK_SRC>,
|
|
<&clock_camcc CAM_CC_CSI1PHYTIMER_CLK>;
|
|
clock-names = "cphy_rx_clk_src",
|
|
"csiphy1_clk",
|
|
"csi1phytimer_clk_src",
|
|
"csi1phytimer_clk";
|
|
src-clock-name = "csi1phytimer_clk_src";
|
|
clock-cntl-level = "turbo";
|
|
clock-rates =
|
|
<400000000 0 300000000 0>;
|
|
|
|
status = "ok";
|
|
};
|
|
|
|
cam_csiphy2: qcom,csiphy@ac67000 {
|
|
cell-index = <2>;
|
|
compatible = "qcom,csiphy-v1.1", "qcom,csiphy";
|
|
reg = <0xac67000 0x1000>;
|
|
reg-names = "csiphy";
|
|
reg-cam-base = <0x67000>;
|
|
interrupts = <0 479 0>;
|
|
interrupt-names = "csiphy";
|
|
gdscr-supply = <&titan_top_gdsc>;
|
|
csi-vdd-voltage = <1200000>;
|
|
mipi-csi-vdd-supply = <&pm8195_3_l5>;
|
|
mipi-csi-vdd1p2-supply = <&pm8195_1_l9>;
|
|
regulator-names = "gdscr", "mipi-csi-vdd", "mipi-csi-vdd1p2";
|
|
rgltr-cntrl-support;
|
|
rgltr-min-voltage = <0 880000 1200000>;
|
|
rgltr-max-voltage = <0 880000 1200000>;
|
|
rgltr-load-current = <0 36000 21800>;
|
|
clocks = <&clock_camcc CAM_CC_CPHY_RX_CLK_SRC>,
|
|
<&clock_camcc CAM_CC_CSIPHY2_CLK>,
|
|
<&clock_camcc CAM_CC_CSI2PHYTIMER_CLK_SRC>,
|
|
<&clock_camcc CAM_CC_CSI2PHYTIMER_CLK>;
|
|
clock-names = "cphy_rx_clk_src",
|
|
"csiphy2_clk",
|
|
"csi2phytimer_clk_src",
|
|
"csi2phytimer_clk";
|
|
src-clock-name = "csi2phytimer_clk_src";
|
|
clock-cntl-level = "turbo";
|
|
clock-rates =
|
|
<400000000 0 300000000 0>;
|
|
status = "ok";
|
|
};
|
|
|
|
cam_csiphy3: qcom,csiphy@ac68000 {
|
|
cell-index = <3>;
|
|
compatible = "qcom,csiphy-v1.1", "qcom,csiphy";
|
|
reg = <0xac68000 0x1000>;
|
|
reg-names = "csiphy";
|
|
reg-cam-base = <0x68000>;
|
|
interrupts = <0 448 0>;
|
|
interrupt-names = "csiphy";
|
|
gdscr-supply = <&titan_top_gdsc>;
|
|
csi-vdd-voltage = <1200000>;
|
|
mipi-csi-vdd-supply = <&pm8195_3_l5>;
|
|
mipi-csi-vdd1p2-supply = <&pm8195_1_l9>;
|
|
regulator-names = "gdscr", "mipi-csi-vdd", "mipi-csi-vdd1p2";
|
|
rgltr-cntrl-support;
|
|
rgltr-min-voltage = <0 880000 1200000>;
|
|
rgltr-max-voltage = <0 880000 1200000>;
|
|
rgltr-load-current = <0 36000 21800>;
|
|
clocks = <&clock_camcc CAM_CC_CPHY_RX_CLK_SRC>,
|
|
<&clock_camcc CAM_CC_CSIPHY3_CLK>,
|
|
<&clock_camcc CAM_CC_CSI3PHYTIMER_CLK_SRC>,
|
|
<&clock_camcc CAM_CC_CSI3PHYTIMER_CLK>;
|
|
clock-names = "cphy_rx_clk_src",
|
|
"csiphy3_clk",
|
|
"csi3phytimer_clk_src",
|
|
"csi3phytimer_clk";
|
|
src-clock-name = "csi3phytimer_clk_src";
|
|
clock-cntl-level = "turbo";
|
|
clock-rates =
|
|
<400000000 0 300000000 0>;
|
|
status = "ok";
|
|
};
|
|
|
|
cam_cci0: qcom,cci@ac4a000 {
|
|
cell-index = <0>;
|
|
compatible = "qcom,cci";
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
reg = <0xac4a000 0x1000>;
|
|
reg-names = "cci";
|
|
reg-cam-base = <0x4a000>;
|
|
interrupt-names = "cci";
|
|
interrupts = <0 460 0>;
|
|
status = "ok";
|
|
gdscr-supply = <&titan_top_gdsc>;
|
|
regulator-names = "gdscr";
|
|
clocks = <&clock_camcc CAM_CC_CCI_0_CLK_SRC>,
|
|
<&clock_camcc CAM_CC_CCI_0_CLK>;
|
|
clock-names = "cci_0_clk_src",
|
|
"cci_0_clk";
|
|
src-clock-name = "cci_0_clk_src";
|
|
clock-cntl-level = "lowsvs";
|
|
clock-rates = <37500000 0>;
|
|
pinctrl-names = "cam_default", "cam_suspend";
|
|
pinctrl-0 = <&cci0_active &cci1_active>;
|
|
pinctrl-1 = <&cci0_suspend &cci1_suspend>;
|
|
gpios = <&tlmm 17 0>,
|
|
<&tlmm 18 0>,
|
|
<&tlmm 19 0>,
|
|
<&tlmm 20 0>;
|
|
gpio-req-tbl-num = <0 1 2 3>;
|
|
gpio-req-tbl-flags = <1 1 1 1>;
|
|
gpio-req-tbl-label = "CCI_I2C_DATA0",
|
|
"CCI_I2C_CLK0",
|
|
"CCI_I2C_DATA1",
|
|
"CCI_I2C_CLK1";
|
|
|
|
i2c_freq_100Khz_cci0: qcom,i2c_standard_mode {
|
|
hw-thigh = <201>;
|
|
hw-tlow = <174>;
|
|
hw-tsu-sto = <204>;
|
|
hw-tsu-sta = <231>;
|
|
hw-thd-dat = <22>;
|
|
hw-thd-sta = <162>;
|
|
hw-tbuf = <227>;
|
|
hw-scl-stretch-en = <0>;
|
|
hw-trdhld = <6>;
|
|
hw-tsp = <3>;
|
|
cci-clk-src = <37500000>;
|
|
status = "ok";
|
|
};
|
|
|
|
i2c_freq_400Khz_cci0: qcom,i2c_fast_mode {
|
|
hw-thigh = <38>;
|
|
hw-tlow = <56>;
|
|
hw-tsu-sto = <40>;
|
|
hw-tsu-sta = <40>;
|
|
hw-thd-dat = <22>;
|
|
hw-thd-sta = <35>;
|
|
hw-tbuf = <62>;
|
|
hw-scl-stretch-en = <0>;
|
|
hw-trdhld = <6>;
|
|
hw-tsp = <3>;
|
|
cci-clk-src = <37500000>;
|
|
status = "ok";
|
|
};
|
|
|
|
i2c_freq_custom_cci0: qcom,i2c_custom_mode {
|
|
hw-thigh = <38>;
|
|
hw-tlow = <56>;
|
|
hw-tsu-sto = <40>;
|
|
hw-tsu-sta = <40>;
|
|
hw-thd-dat = <22>;
|
|
hw-thd-sta = <35>;
|
|
hw-tbuf = <62>;
|
|
hw-scl-stretch-en = <1>;
|
|
hw-trdhld = <6>;
|
|
hw-tsp = <3>;
|
|
cci-clk-src = <37500000>;
|
|
status = "ok";
|
|
};
|
|
|
|
i2c_freq_1Mhz_cci0: qcom,i2c_fast_plus_mode {
|
|
hw-thigh = <16>;
|
|
hw-tlow = <22>;
|
|
hw-tsu-sto = <17>;
|
|
hw-tsu-sta = <18>;
|
|
hw-thd-dat = <16>;
|
|
hw-thd-sta = <15>;
|
|
hw-tbuf = <24>;
|
|
hw-scl-stretch-en = <0>;
|
|
hw-trdhld = <3>;
|
|
hw-tsp = <3>;
|
|
cci-clk-src = <37500000>;
|
|
status = "ok";
|
|
};
|
|
};
|
|
|
|
cam_cci1: qcom,cci@ac4b000 {
|
|
cell-index = <1>;
|
|
compatible = "qcom,cci";
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
reg = <0xac4b000 0x1000>;
|
|
reg-names = "cci";
|
|
reg-cam-base = <0x4b000>;
|
|
interrupt-names = "cci";
|
|
interrupts = <0 271 0>;
|
|
status = "ok";
|
|
gdscr-supply = <&titan_top_gdsc>;
|
|
regulator-names = "gdscr";
|
|
clocks = <&clock_camcc CAM_CC_CCI_1_CLK_SRC>,
|
|
<&clock_camcc CAM_CC_CCI_1_CLK>;
|
|
clock-names = "cci_1_clk_src",
|
|
"cci_1_clk";
|
|
src-clock-name = "cci_1_clk_src";
|
|
clock-cntl-level = "lowsvs";
|
|
clock-rates = <37500000 0>;
|
|
pinctrl-names = "cam_default", "cam_suspend";
|
|
pinctrl-0 = <&cci2_active &cci3_active>;
|
|
pinctrl-1 = <&cci2_suspend &cci3_suspend>;
|
|
gpios = <&tlmm 31 0>,
|
|
<&tlmm 32 0>,
|
|
<&tlmm 33 0>,
|
|
<&tlmm 34 0>;
|
|
gpio-req-tbl-num = <0 1 2 3>;
|
|
gpio-req-tbl-flags = <1 1 1 1>;
|
|
gpio-req-tbl-label = "CCI_I2C_DATA2",
|
|
"CCI_I2C_CLK2",
|
|
"CCI_I2C_DATA3",
|
|
"CCI_I2C_CLK3";
|
|
|
|
i2c_freq_100Khz_cci1: qcom,i2c_standard_mode {
|
|
hw-thigh = <201>;
|
|
hw-tlow = <174>;
|
|
hw-tsu-sto = <204>;
|
|
hw-tsu-sta = <231>;
|
|
hw-thd-dat = <22>;
|
|
hw-thd-sta = <162>;
|
|
hw-tbuf = <227>;
|
|
hw-scl-stretch-en = <0>;
|
|
hw-trdhld = <6>;
|
|
hw-tsp = <3>;
|
|
cci-clk-src = <37500000>;
|
|
status = "ok";
|
|
};
|
|
|
|
i2c_freq_400Khz_cci1: qcom,i2c_fast_mode {
|
|
hw-thigh = <38>;
|
|
hw-tlow = <56>;
|
|
hw-tsu-sto = <40>;
|
|
hw-tsu-sta = <40>;
|
|
hw-thd-dat = <22>;
|
|
hw-thd-sta = <35>;
|
|
hw-tbuf = <62>;
|
|
hw-scl-stretch-en = <0>;
|
|
hw-trdhld = <6>;
|
|
hw-tsp = <3>;
|
|
cci-clk-src = <37500000>;
|
|
status = "ok";
|
|
};
|
|
|
|
i2c_freq_custom_cci1: qcom,i2c_custom_mode {
|
|
hw-thigh = <38>;
|
|
hw-tlow = <56>;
|
|
hw-tsu-sto = <40>;
|
|
hw-tsu-sta = <40>;
|
|
hw-thd-dat = <22>;
|
|
hw-thd-sta = <35>;
|
|
hw-tbuf = <62>;
|
|
hw-scl-stretch-en = <1>;
|
|
hw-trdhld = <6>;
|
|
hw-tsp = <3>;
|
|
cci-clk-src = <37500000>;
|
|
status = "ok";
|
|
};
|
|
|
|
i2c_freq_1Mhz_cci1: qcom,i2c_fast_plus_mode {
|
|
hw-thigh = <16>;
|
|
hw-tlow = <22>;
|
|
hw-tsu-sto = <17>;
|
|
hw-tsu-sta = <18>;
|
|
hw-thd-dat = <16>;
|
|
hw-thd-sta = <15>;
|
|
hw-tbuf = <24>;
|
|
hw-scl-stretch-en = <0>;
|
|
hw-trdhld = <3>;
|
|
hw-tsp = <3>;
|
|
cci-clk-src = <37500000>;
|
|
status = "ok";
|
|
};
|
|
};
|
|
|
|
cam_cci2: qcom,cci@ac4c000 {
|
|
cell-index = <2>;
|
|
compatible = "qcom,cci";
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
reg = <0xac4c000 0x1000>;
|
|
reg-names = "cci";
|
|
reg-cam-base = <0x4c000>;
|
|
interrupt-names = "cci";
|
|
interrupts = <0 651 0>;
|
|
status = "ok";
|
|
gdscr-supply = <&titan_top_gdsc>;
|
|
regulator-names = "gdscr";
|
|
clocks = <&clock_camcc CAM_CC_CCI_2_CLK_SRC>,
|
|
<&clock_camcc CAM_CC_CCI_2_CLK>;
|
|
clock-names = "cci_2_clk_src",
|
|
"cci_2_clk";
|
|
src-clock-name = "cci_2_clk_src";
|
|
clock-cntl-level = "lowsvs";
|
|
clock-rates = <37500000 0>;
|
|
pinctrl-names = "cam_default", "cam_suspend";
|
|
pinctrl-0 = <&cci4_active &cci5_active>;
|
|
pinctrl-1 = <&cci4_suspend &cci5_suspend>;
|
|
gpios = <&tlmm 0 0>,
|
|
<&tlmm 1 0>,
|
|
<&tlmm 2 0>,
|
|
<&tlmm 3 0>;
|
|
gpio-req-tbl-num = <0 1 2 3>;
|
|
gpio-req-tbl-flags = <1 1 1 1>;
|
|
gpio-req-tbl-label = "CCI_I2C_DATA4",
|
|
"CCI_I2C_CLK4",
|
|
"CCI_I2C_DATA5",
|
|
"CCI_I2C_CLK5";
|
|
|
|
i2c_freq_100Khz_cci2: qcom,i2c_standard_mode {
|
|
hw-thigh = <201>;
|
|
hw-tlow = <174>;
|
|
hw-tsu-sto = <204>;
|
|
hw-tsu-sta = <231>;
|
|
hw-thd-dat = <22>;
|
|
hw-thd-sta = <162>;
|
|
hw-tbuf = <227>;
|
|
hw-scl-stretch-en = <0>;
|
|
hw-trdhld = <6>;
|
|
hw-tsp = <3>;
|
|
cci-clk-src = <37500000>;
|
|
status = "ok";
|
|
};
|
|
|
|
i2c_freq_400Khz_cci2: qcom,i2c_fast_mode {
|
|
hw-thigh = <38>;
|
|
hw-tlow = <56>;
|
|
hw-tsu-sto = <40>;
|
|
hw-tsu-sta = <40>;
|
|
hw-thd-dat = <22>;
|
|
hw-thd-sta = <35>;
|
|
hw-tbuf = <62>;
|
|
hw-scl-stretch-en = <0>;
|
|
hw-trdhld = <6>;
|
|
hw-tsp = <3>;
|
|
cci-clk-src = <37500000>;
|
|
status = "ok";
|
|
};
|
|
|
|
i2c_freq_custom_cci2: qcom,i2c_custom_mode {
|
|
hw-thigh = <38>;
|
|
hw-tlow = <56>;
|
|
hw-tsu-sto = <40>;
|
|
hw-tsu-sta = <40>;
|
|
hw-thd-dat = <22>;
|
|
hw-thd-sta = <35>;
|
|
hw-tbuf = <62>;
|
|
hw-scl-stretch-en = <1>;
|
|
hw-trdhld = <6>;
|
|
hw-tsp = <3>;
|
|
cci-clk-src = <37500000>;
|
|
status = "ok";
|
|
};
|
|
|
|
i2c_freq_1Mhz_cci2: qcom,i2c_fast_plus_mode {
|
|
hw-thigh = <16>;
|
|
hw-tlow = <22>;
|
|
hw-tsu-sto = <17>;
|
|
hw-tsu-sta = <18>;
|
|
hw-thd-dat = <16>;
|
|
hw-thd-sta = <15>;
|
|
hw-tbuf = <24>;
|
|
hw-scl-stretch-en = <0>;
|
|
hw-trdhld = <3>;
|
|
hw-tsp = <3>;
|
|
cci-clk-src = <37500000>;
|
|
status = "ok";
|
|
};
|
|
};
|
|
|
|
cam_cci3: qcom,cci@ac4d000 {
|
|
cell-index = <3>;
|
|
compatible = "qcom,cci";
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
reg = <0xac4d000 0x1000>;
|
|
reg-names = "cci";
|
|
reg-cam-base = <0x4d000>;
|
|
interrupt-names = "cci";
|
|
interrupts = <0 650 0>;
|
|
status = "ok";
|
|
gdscr-supply = <&titan_top_gdsc>;
|
|
regulator-names = "gdscr";
|
|
clocks = <&clock_camcc CAM_CC_CCI_3_CLK_SRC>,
|
|
<&clock_camcc CAM_CC_CCI_3_CLK>;
|
|
clock-names = "cci_3_clk_src",
|
|
"cci_3_clk";
|
|
src-clock-name = "cci_3_clk_src";
|
|
clock-cntl-level = "lowsvs";
|
|
clock-rates = <37500000 0>;
|
|
pinctrl-names = "cam_default", "cam_suspend";
|
|
pinctrl-0 = <&cci6_active &cci7_active>;
|
|
pinctrl-1 = <&cci6_suspend &cci7_suspend>;
|
|
gpios = <&tlmm 39 0>,
|
|
<&tlmm 40 0>,
|
|
<&tlmm 41 0>,
|
|
<&tlmm 42 0>;
|
|
gpio-req-tbl-num = <0 1 2 3>;
|
|
gpio-req-tbl-flags = <1 1 1 1>;
|
|
gpio-req-tbl-label = "CCI_I2C_DATA6",
|
|
"CCI_I2C_CLK6",
|
|
"CCI_I2C_DATA7",
|
|
"CCI_I2C_CLK7";
|
|
|
|
i2c_freq_100Khz_cci3: qcom,i2c_standard_mode {
|
|
hw-thigh = <201>;
|
|
hw-tlow = <174>;
|
|
hw-tsu-sto = <204>;
|
|
hw-tsu-sta = <231>;
|
|
hw-thd-dat = <22>;
|
|
hw-thd-sta = <162>;
|
|
hw-tbuf = <227>;
|
|
hw-scl-stretch-en = <0>;
|
|
hw-trdhld = <6>;
|
|
hw-tsp = <3>;
|
|
cci-clk-src = <37500000>;
|
|
status = "ok";
|
|
};
|
|
|
|
i2c_freq_400Khz_cci3: qcom,i2c_fast_mode {
|
|
hw-thigh = <38>;
|
|
hw-tlow = <56>;
|
|
hw-tsu-sto = <40>;
|
|
hw-tsu-sta = <40>;
|
|
hw-thd-dat = <22>;
|
|
hw-thd-sta = <35>;
|
|
hw-tbuf = <62>;
|
|
hw-scl-stretch-en = <0>;
|
|
hw-trdhld = <6>;
|
|
hw-tsp = <3>;
|
|
cci-clk-src = <37500000>;
|
|
status = "ok";
|
|
};
|
|
|
|
i2c_freq_custom_cci3: qcom,i2c_custom_mode {
|
|
hw-thigh = <38>;
|
|
hw-tlow = <56>;
|
|
hw-tsu-sto = <40>;
|
|
hw-tsu-sta = <40>;
|
|
hw-thd-dat = <22>;
|
|
hw-thd-sta = <35>;
|
|
hw-tbuf = <62>;
|
|
hw-scl-stretch-en = <1>;
|
|
hw-trdhld = <6>;
|
|
hw-tsp = <3>;
|
|
cci-clk-src = <37500000>;
|
|
status = "ok";
|
|
};
|
|
|
|
i2c_freq_1Mhz_cci3: qcom,i2c_fast_plus_mode {
|
|
hw-thigh = <16>;
|
|
hw-tlow = <22>;
|
|
hw-tsu-sto = <17>;
|
|
hw-tsu-sta = <18>;
|
|
hw-thd-dat = <16>;
|
|
hw-thd-sta = <15>;
|
|
hw-tbuf = <24>;
|
|
hw-scl-stretch-en = <0>;
|
|
hw-trdhld = <3>;
|
|
hw-tsp = <3>;
|
|
cci-clk-src = <37500000>;
|
|
status = "ok";
|
|
};
|
|
};
|
|
|
|
qcom,cam_smmu {
|
|
compatible = "qcom,msm-cam-smmu";
|
|
status = "ok";
|
|
|
|
msm_cam_smmu_ife {
|
|
compatible = "qcom,msm-cam-smmu-cb";
|
|
iommus = <&apps_smmu 0xA00 0x4E0>,
|
|
<&apps_smmu 0xAA0 0x4E0>,
|
|
<&apps_smmu 0xA40 0x4E0>,
|
|
<&apps_smmu 0xA60 0x4E0>,
|
|
<&apps_smmu 0xA80 0x4E0>,
|
|
<&apps_smmu 0xA20 0x4E0>,
|
|
<&apps_smmu 0xAC0 0x4E0>,
|
|
<&apps_smmu 0xAE0 0x4E0>,
|
|
<&apps_smmu 0xE00 0x4E0>,
|
|
<&apps_smmu 0xEA0 0x4E0>,
|
|
<&apps_smmu 0xE40 0x4E0>,
|
|
<&apps_smmu 0xE60 0x4E0>,
|
|
<&apps_smmu 0xE80 0x4E0>,
|
|
<&apps_smmu 0xE20 0x4E0>,
|
|
<&apps_smmu 0xEC0 0x4E0>,
|
|
<&apps_smmu 0xEE0 0x4E0>;
|
|
label = "ife";
|
|
ife_iova_mem_map: iova-mem-map {
|
|
/* IO region is approximately 3.4 GB */
|
|
iova-mem-region-io {
|
|
iova-region-name = "io";
|
|
iova-region-start = <0x7400000>;
|
|
iova-region-len = <0xd8c00000>;
|
|
iova-region-id = <0x3>;
|
|
status = "ok";
|
|
};
|
|
};
|
|
};
|
|
|
|
msm_cam_smmu_ife_cp {
|
|
compatible = "qcom,msm-cam-smmu-cb";
|
|
iommus = <&apps_smmu 0xA01 0x5E0>,
|
|
<&apps_smmu 0xAA1 0x5E0>,
|
|
<&apps_smmu 0xA41 0x5E0>,
|
|
<&apps_smmu 0xA61 0x5E0>,
|
|
<&apps_smmu 0xA81 0x5E0>,
|
|
<&apps_smmu 0xA21 0x5E0>,
|
|
<&apps_smmu 0xAC1 0x5E0>,
|
|
<&apps_smmu 0xAE1 0x5E0>,
|
|
<&apps_smmu 0xE01 0x5E0>,
|
|
<&apps_smmu 0xEA1 0x5E0>,
|
|
<&apps_smmu 0xE41 0x5E0>,
|
|
<&apps_smmu 0xE61 0x5E0>,
|
|
<&apps_smmu 0xE81 0x5E0>,
|
|
<&apps_smmu 0xE21 0x5E0>,
|
|
<&apps_smmu 0xEC1 0x5E0>,
|
|
<&apps_smmu 0xEE1 0x5E0>;
|
|
label = "ife-cp";
|
|
qcom,secure-pixel-cb;
|
|
ife_cp_iova_mem_map: iova-mem-map {
|
|
/* IO region is approximately 2.5 GB */
|
|
iova-mem-region-io {
|
|
iova-region-name = "io";
|
|
iova-region-start = <0x7400000>;
|
|
iova-region-len = <0x98C00000>;
|
|
iova-region-id = <0x3>;
|
|
status = "ok";
|
|
};
|
|
};
|
|
};
|
|
|
|
msm_cam_smmu_jpeg {
|
|
compatible = "qcom,msm-cam-smmu-cb";
|
|
iommus = <&apps_smmu 0x2100 0x20>,
|
|
<&apps_smmu 0x2120 0x20>;
|
|
label = "jpeg";
|
|
jpeg_iova_mem_map: iova-mem-map {
|
|
/* IO region is approximately 3.4 GB */
|
|
iova-mem-region-io {
|
|
iova-region-name = "io";
|
|
iova-region-start = <0x7400000>;
|
|
iova-region-len = <0xd8c00000>;
|
|
iova-region-id = <0x3>;
|
|
status = "ok";
|
|
};
|
|
};
|
|
};
|
|
|
|
msm_cam_icp_fw {
|
|
compatible = "qcom,msm-cam-smmu-fw-dev";
|
|
label="icp";
|
|
memory-region = <&pil_camera_mem>;
|
|
};
|
|
|
|
msm_cam_smmu_icp {
|
|
compatible = "qcom,msm-cam-smmu-cb";
|
|
iommus = <&apps_smmu 0x2042 0x0>,
|
|
<&apps_smmu 0x2080 0x320>,
|
|
<&apps_smmu 0x20A0 0x320>,
|
|
<&apps_smmu 0x2380 0x320>,
|
|
<&apps_smmu 0x23A0 0x320>,
|
|
<&apps_smmu 0x20C0 0x300>,
|
|
<&apps_smmu 0x23C0 0x300>;
|
|
label = "icp";
|
|
icp_iova_mem_map: iova-mem-map {
|
|
iova-mem-region-firmware {
|
|
/* Firmware region is 5MB */
|
|
iova-region-name = "firmware";
|
|
iova-region-start = <0x0>;
|
|
iova-region-len = <0x500000>;
|
|
iova-region-id = <0x0>;
|
|
status = "ok";
|
|
};
|
|
|
|
iova-mem-region-shared {
|
|
/* Shared region is 150MB long */
|
|
iova-region-name = "shared";
|
|
iova-region-start = <0x7400000>;
|
|
iova-region-len = <0x9600000>;
|
|
iova-region-id = <0x1>;
|
|
status = "ok";
|
|
};
|
|
|
|
iova-mem-region-secondary-heap {
|
|
/* Secondary heap region is 1MB long */
|
|
iova-region-name = "secheap";
|
|
iova-region-start = <0x10A00000>;
|
|
iova-region-len = <0x100000>;
|
|
iova-region-id = <0x4>;
|
|
status = "ok";
|
|
};
|
|
|
|
iova-mem-region-io {
|
|
/* IO region is approximately 3.3 GB */
|
|
iova-region-name = "io";
|
|
iova-region-start = <0x10C00000>;
|
|
iova-region-len = <0xCF300000>;
|
|
iova-region-id = <0x3>;
|
|
status = "ok";
|
|
};
|
|
|
|
iova-mem-qdss-region {
|
|
/* QDSS region is appropriate 1MB */
|
|
iova-region-name = "qdss";
|
|
iova-region-start = <0x10B00000>;
|
|
iova-region-len = <0x100000>;
|
|
iova-region-id = <0x5>;
|
|
qdss-phy-addr = <0x16790000>;
|
|
status = "ok";
|
|
};
|
|
};
|
|
};
|
|
|
|
msm_cam_smmu_cpas_cdm {
|
|
compatible = "qcom,msm-cam-smmu-cb";
|
|
iommus = <&apps_smmu 0x2000 0x0>;
|
|
label = "cpas-cdm0";
|
|
cpas_cdm_iova_mem_map: iova-mem-map {
|
|
iova-mem-region-io {
|
|
/* IO region is approximately 3.4 GB */
|
|
iova-region-name = "io";
|
|
iova-region-start = <0x7400000>;
|
|
iova-region-len = <0xd8c00000>;
|
|
iova-region-id = <0x3>;
|
|
status = "ok";
|
|
};
|
|
};
|
|
};
|
|
|
|
msm_cam_smmu_secure {
|
|
compatible = "qcom,msm-cam-smmu-cb";
|
|
label = "cam-secure";
|
|
qcom,secure-cb;
|
|
};
|
|
|
|
msm_cam_smmu_fd {
|
|
compatible = "qcom,msm-cam-smmu-cb";
|
|
iommus = <&apps_smmu 0x2140 0x20>,
|
|
<&apps_smmu 0x2160 0x20>;
|
|
label = "fd";
|
|
fd_iova_mem_map: iova-mem-map {
|
|
iova-mem-region-io {
|
|
/* IO region is approximately 3.4 GB */
|
|
iova-region-name = "io";
|
|
iova-region-start = <0x7400000>;
|
|
iova-region-len = <0xd8c00000>;
|
|
iova-region-id = <0x3>;
|
|
status = "ok";
|
|
};
|
|
};
|
|
};
|
|
|
|
msm_cam_smmu_lrme {
|
|
compatible = "qcom,msm-cam-smmu-cb";
|
|
iommus = <&apps_smmu 0x20e0 0x300>,
|
|
<&apps_smmu 0x23E0 0x300>;
|
|
label = "lrme";
|
|
lrme_iova_mem_map: iova-mem-map {
|
|
iova-mem-region-shared {
|
|
/* Shared region is 100MB long */
|
|
iova-region-name = "shared";
|
|
iova-region-start = <0x7400000>;
|
|
iova-region-len = <0x6400000>;
|
|
iova-region-id = <0x1>;
|
|
status = "ok";
|
|
};
|
|
/* IO region is approximately 3.3 GB */
|
|
iova-mem-region-io {
|
|
iova-region-name = "io";
|
|
iova-region-start = <0xd800000>;
|
|
iova-region-len = <0xd2800000>;
|
|
iova-region-id = <0x3>;
|
|
status = "ok";
|
|
};
|
|
};
|
|
};
|
|
};
|
|
|
|
qcom,cam-cpas@ac40000 {
|
|
cell-index = <0>;
|
|
compatible = "qcom,cam-cpas";
|
|
label = "cpas";
|
|
arch-compat = "cpas_top";
|
|
status = "ok";
|
|
reg-names = "cam_cpas_top", "cam_camnoc";
|
|
reg = <0xac40000 0x1000>,
|
|
<0xac42000 0x5000>;
|
|
reg-cam-base = <0x40000 0x42000>;
|
|
interrupt-names = "cpas_camnoc";
|
|
interrupts = <0 459 0>;
|
|
camnoc-axi-min-ib-bw = <3000000000>;
|
|
regulator-names = "camss-vdd";
|
|
camss-vdd-supply = <&titan_top_gdsc>;
|
|
clock-names =
|
|
"gcc_ahb_clk",
|
|
"gcc_axi_hf_clk",
|
|
"gcc_axi_sf_clk",
|
|
"slow_ahb_clk_src",
|
|
"cpas_ahb_clk",
|
|
"camnoc_axi_clk_src",
|
|
"camnoc_axi_clk";
|
|
clocks =
|
|
<&clock_gcc GCC_CAMERA_AHB_CLK>,
|
|
<&clock_gcc GCC_CAMERA_HF_AXI_CLK>,
|
|
<&clock_gcc GCC_CAMERA_SF_AXI_CLK>,
|
|
<&clock_camcc CAM_CC_SLOW_AHB_CLK_SRC>,
|
|
<&clock_camcc CAM_CC_CPAS_AHB_CLK>,
|
|
<&clock_camcc CAM_CC_CAMNOC_AXI_CLK_SRC>,
|
|
<&clock_camcc CAM_CC_CAMNOC_AXI_CLK>;
|
|
src-clock-name = "camnoc_axi_clk_src";
|
|
clock-rates =
|
|
<0 0 0 0 0 0 0>,
|
|
<0 0 0 19200000 0 19200000 0>,
|
|
<0 0 0 80000000 0 150000000 0>,
|
|
<0 0 0 80000000 0 266670000 0>,
|
|
<0 0 0 80000000 0 320000000 0>,
|
|
<0 0 0 80000000 0 400000000 0>,
|
|
<0 0 0 80000000 0 480000000 0>;
|
|
clock-cntl-level = "suspend", "minsvs", "lowsvs", "svs",
|
|
"svs_l1", "nominal", "turbo";
|
|
control-camnoc-axi-clk;
|
|
camnoc-bus-width = <32>;
|
|
camnoc-axi-clk-bw-margin-perc = <20>;
|
|
qcom,msm-bus,name = "cam_ahb";
|
|
qcom,msm-bus,num-cases = <7>;
|
|
qcom,msm-bus,num-paths = <1>;
|
|
qcom,msm-bus,vectors-KBps =
|
|
<MSM_BUS_MASTER_AMPSS_M0
|
|
MSM_BUS_SLAVE_CAMERA_CFG 0 0>,
|
|
<MSM_BUS_MASTER_AMPSS_M0
|
|
MSM_BUS_SLAVE_CAMERA_CFG 0 76800>,
|
|
<MSM_BUS_MASTER_AMPSS_M0
|
|
MSM_BUS_SLAVE_CAMERA_CFG 0 76800>,
|
|
<MSM_BUS_MASTER_AMPSS_M0
|
|
MSM_BUS_SLAVE_CAMERA_CFG 0 150000>,
|
|
<MSM_BUS_MASTER_AMPSS_M0
|
|
MSM_BUS_SLAVE_CAMERA_CFG 0 150000>,
|
|
<MSM_BUS_MASTER_AMPSS_M0
|
|
MSM_BUS_SLAVE_CAMERA_CFG 0 300000>,
|
|
<MSM_BUS_MASTER_AMPSS_M0
|
|
MSM_BUS_SLAVE_CAMERA_CFG 0 300000>;
|
|
vdd-corners = <RPMH_REGULATOR_LEVEL_OFF
|
|
RPMH_REGULATOR_LEVEL_RETENTION
|
|
RPMH_REGULATOR_LEVEL_MIN_SVS
|
|
RPMH_REGULATOR_LEVEL_LOW_SVS
|
|
RPMH_REGULATOR_LEVEL_SVS
|
|
RPMH_REGULATOR_LEVEL_SVS_L1
|
|
RPMH_REGULATOR_LEVEL_NOM
|
|
RPMH_REGULATOR_LEVEL_NOM_L1
|
|
RPMH_REGULATOR_LEVEL_NOM_L2
|
|
RPMH_REGULATOR_LEVEL_TURBO
|
|
RPMH_REGULATOR_LEVEL_TURBO_L1>;
|
|
vdd-corner-ahb-mapping = "suspend", "suspend",
|
|
"minsvs", "lowsvs", "svs", "svs_l1",
|
|
"nominal", "nominal", "nominal",
|
|
"turbo", "turbo";
|
|
client-id-based;
|
|
client-names =
|
|
"csiphy0", "csiphy1", "csiphy2", "csiphy3",
|
|
"cci0", "cci1", "cci2", "cci3",
|
|
"csid0", "csid1", "csid2", "csid3",
|
|
"csid4", "csid5", "csid6", "csid7",
|
|
"ife0", "ife1", "ife2", "ife3",
|
|
"ife4", "ife5", "ife6", "ife7",
|
|
"ipe0", "ipe1", "cam-cdm-intf0", "cpas-cdm0",
|
|
"bps0", "icp0", "jpeg-dma0", "jpeg-enc0",
|
|
"fd0", "lrmecpas0";
|
|
client-axi-port-names =
|
|
"cam_hf_1", "cam_hf_2", "cam_hf_1", "cam_hf_2",
|
|
"cam_sf_1", "cam_sf_1", "cam_sf_1", "cam_sf_1",
|
|
"cam_hf_1", "cam_hf_2", "cam_hf_1", "cam_hf_2",
|
|
"cam_hf_1", "cam_hf_2", "cam_hf_1", "cam_hf_2",
|
|
"cam_hf_1", "cam_hf_2", "cam_hf_1", "cam_hf_2",
|
|
"cam_hf_1", "cam_hf_2", "cam_hf_1", "cam_hf_2",
|
|
"cam_sf_1", "cam_sf_1", "cam_sf_1", "cam_sf_1",
|
|
"cam_sf_1", "cam_sf_1", "cam_sf_1", "cam_sf_1",
|
|
"cam_sf_1", "cam_sf_1";
|
|
client-bus-camnoc-based;
|
|
qcom,axi-port-list {
|
|
qcom,axi-port1 {
|
|
qcom,axi-port-name = "cam_hf_1";
|
|
ib-bw-voting-needed;
|
|
qcom,axi-port-mnoc {
|
|
qcom,msm-bus,name = "cam_hf_1_mnoc";
|
|
qcom,msm-bus-vector-dyn-vote;
|
|
qcom,msm-bus,num-cases = <2>;
|
|
qcom,msm-bus,num-paths = <1>;
|
|
qcom,msm-bus,vectors-KBps =
|
|
<MSM_BUS_MASTER_CAMNOC_HF0
|
|
MSM_BUS_SLAVE_EBI_CH0 0 0>,
|
|
<MSM_BUS_MASTER_CAMNOC_HF0
|
|
MSM_BUS_SLAVE_EBI_CH0 0 0>;
|
|
};
|
|
qcom,axi-port-camnoc {
|
|
qcom,msm-bus,name = "cam_hf_1_camnoc";
|
|
qcom,msm-bus-vector-dyn-vote;
|
|
qcom,msm-bus,num-cases = <2>;
|
|
qcom,msm-bus,num-paths = <1>;
|
|
qcom,msm-bus,vectors-KBps =
|
|
<MSM_BUS_MASTER_CAMNOC_HF0_UNCOMP
|
|
MSM_BUS_SLAVE_CAMNOC_UNCOMP 0 0>,
|
|
<MSM_BUS_MASTER_CAMNOC_HF0_UNCOMP
|
|
MSM_BUS_SLAVE_CAMNOC_UNCOMP 0 0>;
|
|
};
|
|
};
|
|
qcom,axi-port2 {
|
|
qcom,axi-port-name = "cam_hf_2";
|
|
ib-bw-voting-needed;
|
|
qcom,axi-port-mnoc {
|
|
qcom,msm-bus,name = "cam_hf_2_mnoc";
|
|
qcom,msm-bus-vector-dyn-vote;
|
|
qcom,msm-bus,num-cases = <2>;
|
|
qcom,msm-bus,num-paths = <1>;
|
|
qcom,msm-bus,vectors-KBps =
|
|
<MSM_BUS_MASTER_CAMNOC_HF1
|
|
MSM_BUS_SLAVE_EBI_CH0 0 0>,
|
|
<MSM_BUS_MASTER_CAMNOC_HF1
|
|
MSM_BUS_SLAVE_EBI_CH0 0 0>;
|
|
};
|
|
qcom,axi-port-camnoc {
|
|
qcom,msm-bus,name = "cam_hf_2_camnoc";
|
|
qcom,msm-bus-vector-dyn-vote;
|
|
qcom,msm-bus,num-cases = <2>;
|
|
qcom,msm-bus,num-paths = <1>;
|
|
qcom,msm-bus,vectors-KBps =
|
|
<MSM_BUS_MASTER_CAMNOC_HF1_UNCOMP
|
|
MSM_BUS_SLAVE_CAMNOC_UNCOMP 0 0>,
|
|
<MSM_BUS_MASTER_CAMNOC_HF1_UNCOMP
|
|
MSM_BUS_SLAVE_CAMNOC_UNCOMP 0 0>;
|
|
};
|
|
};
|
|
qcom,axi-port3 {
|
|
qcom,axi-port-name = "cam_sf_1";
|
|
qcom,axi-port-mnoc {
|
|
qcom,msm-bus,name = "cam_sf_1_mnoc";
|
|
qcom,msm-bus-vector-dyn-vote;
|
|
qcom,msm-bus,num-cases = <2>;
|
|
qcom,msm-bus,num-paths = <1>;
|
|
qcom,msm-bus,vectors-KBps =
|
|
<MSM_BUS_MASTER_CAMNOC_SF
|
|
MSM_BUS_SLAVE_EBI_CH0 0 0>,
|
|
<MSM_BUS_MASTER_CAMNOC_SF
|
|
MSM_BUS_SLAVE_EBI_CH0 0 0>;
|
|
};
|
|
qcom,axi-port-camnoc {
|
|
qcom,msm-bus,name = "cam_sf_1_camnoc";
|
|
qcom,msm-bus-vector-dyn-vote;
|
|
qcom,msm-bus,num-cases = <2>;
|
|
qcom,msm-bus,num-paths = <1>;
|
|
qcom,msm-bus,vectors-KBps =
|
|
<MSM_BUS_MASTER_CAMNOC_SF_UNCOMP
|
|
MSM_BUS_SLAVE_CAMNOC_UNCOMP 0 0>,
|
|
<MSM_BUS_MASTER_CAMNOC_SF_UNCOMP
|
|
MSM_BUS_SLAVE_CAMNOC_UNCOMP 0 0>;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
|
|
qcom,cam-cdm-intf {
|
|
compatible = "qcom,cam-cdm-intf";
|
|
cell-index = <0>;
|
|
label = "cam-cdm-intf";
|
|
num-hw-cdm = <1>;
|
|
cdm-client-names = "vfe",
|
|
"jpegdma",
|
|
"jpegenc",
|
|
"fd",
|
|
"lrmecdm";
|
|
status = "ok";
|
|
};
|
|
|
|
qcom,cpas-cdm0@ac48000 {
|
|
cell-index = <0>;
|
|
compatible = "qcom,cam170-cpas-cdm0";
|
|
label = "cpas-cdm";
|
|
reg = <0xac48000 0x1000>;
|
|
reg-names = "cpas-cdm";
|
|
reg-cam-base = <0x48000>;
|
|
interrupts = <0 461 0>;
|
|
interrupt-names = "cpas-cdm";
|
|
regulator-names = "camss";
|
|
camss-supply = <&titan_top_gdsc>;
|
|
clock-names = "cam_cc_cpas_slow_ahb_clk",
|
|
"cam_cc_cpas_ahb_clk";
|
|
clocks = <&clock_camcc CAM_CC_SLOW_AHB_CLK_SRC>,
|
|
<&clock_camcc CAM_CC_CPAS_AHB_CLK>;
|
|
clock-rates = <0 0>;
|
|
clock-cntl-level = "svs";
|
|
cdm-client-names = "ife";
|
|
status = "ok";
|
|
};
|
|
|
|
cam_isp_mgr: qcom,cam-isp {
|
|
compatible = "qcom,cam-isp";
|
|
arch-compat = "ife";
|
|
status = "ok";
|
|
};
|
|
|
|
cam_csid0: qcom,csid0@acb3000 {
|
|
cell-index = <0>;
|
|
compatible = "qcom,csid175";
|
|
reg-names = "csid";
|
|
reg = <0xacb3000 0x1000>;
|
|
reg-cam-base = <0xb3000>;
|
|
interrupt-names = "csid";
|
|
interrupts = <0 464 0>;
|
|
regulator-names = "camss", "ife0";
|
|
camss-supply = <&titan_top_gdsc>;
|
|
ife0-supply = <&ife_0_gdsc>;
|
|
clock-names =
|
|
"ife_csid_clk_src",
|
|
"ife_csid_clk",
|
|
"cphy_rx_clk_src",
|
|
"ife_cphy_rx_clk",
|
|
"ife_clk_src",
|
|
"ife_clk",
|
|
"ife_axi_clk";
|
|
clocks =
|
|
<&clock_camcc CAM_CC_IFE_0_CSID_CLK_SRC>,
|
|
<&clock_camcc CAM_CC_IFE_0_CSID_CLK>,
|
|
<&clock_camcc CAM_CC_CPHY_RX_CLK_SRC>,
|
|
<&clock_camcc CAM_CC_IFE_0_CPHY_RX_CLK>,
|
|
<&clock_camcc CAM_CC_IFE_0_CLK_SRC>,
|
|
<&clock_camcc CAM_CC_IFE_0_CLK>,
|
|
<&clock_camcc CAM_CC_IFE_0_AXI_CLK>;
|
|
clock-rates =
|
|
<400000000 0 0 0 400000000 0 0>,
|
|
<400000000 0 0 0 558000000 0 0>,
|
|
<480000000 0 0 0 637000000 0 0>,
|
|
<600000000 0 0 0 760000000 0 0>;
|
|
clock-cntl-level = "lowsvs", "svs", "svs_l1", "turbo";
|
|
src-clock-name = "ife_csid_clk_src";
|
|
clock-control-debugfs = "true";
|
|
status = "ok";
|
|
};
|
|
|
|
cam_vfe0: qcom,vfe0@acaf000 {
|
|
cell-index = <0>;
|
|
compatible = "qcom,vfe175";
|
|
reg-names = "ife", "cam_camnoc";
|
|
reg = <0xacaf000 0x4000>,
|
|
<0xac42000 0x5000>;
|
|
reg-cam-base = <0xaf000 0x42000>;
|
|
interrupt-names = "ife";
|
|
interrupts = <0 465 0>;
|
|
regulator-names = "camss", "ife0";
|
|
camss-supply = <&titan_top_gdsc>;
|
|
ife0-supply = <&ife_0_gdsc>;
|
|
clock-names =
|
|
"ife_clk_src",
|
|
"ife_clk",
|
|
"ife_axi_clk";
|
|
clocks =
|
|
<&clock_camcc CAM_CC_IFE_0_CLK_SRC>,
|
|
<&clock_camcc CAM_CC_IFE_0_CLK>,
|
|
<&clock_camcc CAM_CC_IFE_0_AXI_CLK>;
|
|
clock-rates =
|
|
<400000000 0 0>,
|
|
<558000000 0 0>,
|
|
<637000000 0 0>,
|
|
<760000000 0 0>;
|
|
clock-cntl-level = "lowsvs", "svs", "svs_l1", "turbo";
|
|
src-clock-name = "ife_clk_src";
|
|
clock-control-debugfs = "true";
|
|
clock-names-option = "ife_dsp_clk";
|
|
clocks-option = <&clock_camcc CAM_CC_IFE_0_DSP_CLK>;
|
|
clock-rates-option = <760000000>;
|
|
status = "ok";
|
|
};
|
|
|
|
cam_csid1: qcom,csid1@acba000 {
|
|
cell-index = <1>;
|
|
compatible = "qcom,csid175";
|
|
reg-names = "csid";
|
|
reg = <0xacba000 0x1000>;
|
|
reg-cam-base = <0xba000>;
|
|
interrupt-names = "csid";
|
|
interrupts = <0 466 0>;
|
|
regulator-names = "camss", "ife1";
|
|
camss-supply = <&titan_top_gdsc>;
|
|
ife1-supply = <&ife_1_gdsc>;
|
|
clock-names =
|
|
"ife_csid_clk_src",
|
|
"ife_csid_clk",
|
|
"cphy_rx_clk_src",
|
|
"ife_cphy_rx_clk",
|
|
"ife_clk_src",
|
|
"ife_clk",
|
|
"ife_axi_clk";
|
|
clocks =
|
|
<&clock_camcc CAM_CC_IFE_1_CSID_CLK_SRC>,
|
|
<&clock_camcc CAM_CC_IFE_1_CSID_CLK>,
|
|
<&clock_camcc CAM_CC_CPHY_RX_CLK_SRC>,
|
|
<&clock_camcc CAM_CC_IFE_1_CPHY_RX_CLK>,
|
|
<&clock_camcc CAM_CC_IFE_1_CLK_SRC>,
|
|
<&clock_camcc CAM_CC_IFE_1_CLK>,
|
|
<&clock_camcc CAM_CC_IFE_1_AXI_CLK>;
|
|
clock-rates =
|
|
<400000000 0 0 0 400000000 0 0>,
|
|
<400000000 0 0 0 558000000 0 0>,
|
|
<480000000 0 0 0 637000000 0 0>,
|
|
<600000000 0 0 0 760000000 0 0>;
|
|
clock-cntl-level = "lowsvs", "svs", "svs_l1", "turbo";
|
|
src-clock-name = "ife_csid_clk_src";
|
|
clock-control-debugfs = "true";
|
|
status = "ok";
|
|
};
|
|
|
|
cam_vfe1: qcom,vfe1@acb6000 {
|
|
cell-index = <1>;
|
|
compatible = "qcom,vfe175";
|
|
reg-names = "ife", "cam_camnoc";
|
|
reg = <0xacb6000 0x4000>,
|
|
<0xac42000 0x5000>;
|
|
reg-cam-base = <0xb6000 0x42000>;
|
|
interrupt-names = "ife";
|
|
interrupts = <0 467 0>;
|
|
regulator-names = "camss", "ife1";
|
|
camss-supply = <&titan_top_gdsc>;
|
|
ife1-supply = <&ife_1_gdsc>;
|
|
clock-names =
|
|
"ife_clk_src",
|
|
"ife_clk",
|
|
"ife_axi_clk";
|
|
clocks =
|
|
<&clock_camcc CAM_CC_IFE_1_CLK_SRC>,
|
|
<&clock_camcc CAM_CC_IFE_1_CLK>,
|
|
<&clock_camcc CAM_CC_IFE_1_AXI_CLK>;
|
|
clock-rates =
|
|
<400000000 0 0>,
|
|
<558000000 0 0>,
|
|
<637000000 0 0>,
|
|
<760000000 0 0>;
|
|
clock-cntl-level = "lowsvs", "svs", "svs_l1", "turbo";
|
|
src-clock-name = "ife_clk_src";
|
|
clock-control-debugfs = "true";
|
|
clock-names-option = "ife_dsp_clk";
|
|
clocks-option = <&clock_camcc CAM_CC_IFE_1_DSP_CLK>;
|
|
clock-rates-option = <760000000>;
|
|
status = "ok";
|
|
};
|
|
|
|
cam_csid_lite0: qcom,csid-lite0@acc8000 {
|
|
cell-index = <2>;
|
|
compatible = "qcom,csid-lite175";
|
|
reg-names = "csid-lite";
|
|
reg = <0xacc8000 0x1000>;
|
|
reg-cam-base = <0xc8000>;
|
|
interrupt-names = "csid-lite";
|
|
interrupts = <0 468 0>;
|
|
regulator-names = "camss";
|
|
camss-supply = <&titan_top_gdsc>;
|
|
clock-names =
|
|
"ife_csid_clk_src",
|
|
"ife_csid_clk",
|
|
"cphy_rx_clk_src",
|
|
"ife_cphy_rx_clk",
|
|
"ife_clk_src",
|
|
"ife_clk";
|
|
clocks =
|
|
<&clock_camcc CAM_CC_IFE_LITE_0_CSID_CLK_SRC>,
|
|
<&clock_camcc CAM_CC_IFE_LITE_0_CSID_CLK>,
|
|
<&clock_camcc CAM_CC_CPHY_RX_CLK_SRC>,
|
|
<&clock_camcc CAM_CC_IFE_LITE_0_CPHY_RX_CLK>,
|
|
<&clock_camcc CAM_CC_IFE_LITE_0_CLK_SRC>,
|
|
<&clock_camcc CAM_CC_IFE_LITE_0_CLK>;
|
|
clock-rates =
|
|
<400000000 0 0 0 320000000 0>,
|
|
<400000000 0 0 0 400000000 0>,
|
|
<480000000 0 0 0 480000000 0>,
|
|
<600000000 0 0 0 600000000 0>;
|
|
clock-cntl-level = "lowsvs", "svs", "svs_l1", "turbo";
|
|
src-clock-name = "ife_csid_clk_src";
|
|
clock-control-debugfs = "true";
|
|
status = "ok";
|
|
};
|
|
|
|
cam_vfe_lite0: qcom,vfe-lite0@acc4000 {
|
|
cell-index = <2>;
|
|
compatible = "qcom,vfe-lite175";
|
|
reg-names = "ife-lite";
|
|
reg = <0xacc4000 0x4000>;
|
|
reg-cam-base = <0xc4000>;
|
|
interrupt-names = "ife-lite";
|
|
interrupts = <0 469 0>;
|
|
regulator-names = "camss";
|
|
camss-supply = <&titan_top_gdsc>;
|
|
clock-names =
|
|
"ife_clk_src",
|
|
"ife_clk";
|
|
clocks =
|
|
<&clock_camcc CAM_CC_IFE_LITE_0_CLK_SRC>,
|
|
<&clock_camcc CAM_CC_IFE_LITE_0_CLK>;
|
|
clock-rates =
|
|
<320000000 0>,
|
|
<400000000 0>,
|
|
<480000000 0>,
|
|
<600000000 0>;
|
|
clock-cntl-level = "lowsvs", "svs", "svs_l1", "turbo";
|
|
src-clock-name = "ife_clk_src";
|
|
clock-control-debugfs = "true";
|
|
status = "ok";
|
|
};
|
|
|
|
cam_csid_lite1: qcom,csid-lite1@accf000 {
|
|
cell-index = <3>;
|
|
compatible = "qcom,csid-lite175";
|
|
reg-names = "csid-lite";
|
|
reg = <0xaccf000 0x1000>;
|
|
reg-cam-base = <0xcf000>;
|
|
interrupt-names = "csid-lite";
|
|
interrupts = <0 359 0>;
|
|
regulator-names = "camss";
|
|
camss-supply = <&titan_top_gdsc>;
|
|
clock-names =
|
|
"ife_csid_clk_src",
|
|
"ife_csid_clk",
|
|
"cphy_rx_clk_src",
|
|
"ife_cphy_rx_clk",
|
|
"ife_clk_src",
|
|
"ife_clk";
|
|
clocks =
|
|
<&clock_camcc CAM_CC_IFE_LITE_1_CSID_CLK_SRC>,
|
|
<&clock_camcc CAM_CC_IFE_LITE_1_CSID_CLK>,
|
|
<&clock_camcc CAM_CC_CPHY_RX_CLK_SRC>,
|
|
<&clock_camcc CAM_CC_IFE_LITE_1_CPHY_RX_CLK>,
|
|
<&clock_camcc CAM_CC_IFE_LITE_1_CLK_SRC>,
|
|
<&clock_camcc CAM_CC_IFE_LITE_1_CLK>;
|
|
clock-rates =
|
|
<400000000 0 0 0 320000000 0>,
|
|
<400000000 0 0 0 400000000 0>,
|
|
<480000000 0 0 0 480000000 0>,
|
|
<600000000 0 0 0 600000000 0>;
|
|
clock-cntl-level = "lowsvs", "svs", "svs_l1", "turbo";
|
|
src-clock-name = "ife_csid_clk_src";
|
|
clock-control-debugfs = "true";
|
|
status = "ok";
|
|
};
|
|
|
|
cam_vfe_lite1: qcom,vfe-lite1@accb000 {
|
|
cell-index = <3>;
|
|
compatible = "qcom,vfe-lite175";
|
|
reg-names = "ife-lite";
|
|
reg = <0xaccb000 0x4000>;
|
|
reg-cam-base = <0xcb000>;
|
|
interrupt-names = "ife-lite";
|
|
interrupts = <0 360 0>;
|
|
regulator-names = "camss";
|
|
camss-supply = <&titan_top_gdsc>;
|
|
clock-names =
|
|
"ife_clk_src",
|
|
"ife_clk";
|
|
clocks =
|
|
<&clock_camcc CAM_CC_IFE_LITE_1_CLK_SRC>,
|
|
<&clock_camcc CAM_CC_IFE_LITE_1_CLK>;
|
|
clock-rates =
|
|
<320000000 0>,
|
|
<400000000 0>,
|
|
<480000000 0>,
|
|
<600000000 0>;
|
|
clock-cntl-level = "lowsvs", "svs", "svs_l1", "turbo";
|
|
src-clock-name = "ife_clk_src";
|
|
clock-control-debugfs = "true";
|
|
status = "ok";
|
|
};
|
|
|
|
cam_csid2: qcom,csid2@acc1000 {
|
|
cell-index = <4>;
|
|
compatible = "qcom,csid175";
|
|
reg-names = "csid";
|
|
reg = <0xacc1000 0x1000>;
|
|
reg-cam-base = <0xc1000>;
|
|
interrupt-names = "csid";
|
|
interrupts = <0 763 0>;
|
|
regulator-names = "camss", "ife2";
|
|
camss-supply = <&titan_top_gdsc>;
|
|
ife2-supply = <&ife_2_gdsc>;
|
|
clock-names =
|
|
"ife_csid_clk_src",
|
|
"ife_csid_clk",
|
|
"cphy_rx_clk_src",
|
|
"ife_cphy_rx_clk",
|
|
"ife_clk_src",
|
|
"ife_clk",
|
|
"ife_axi_clk";
|
|
clocks =
|
|
<&clock_camcc CAM_CC_IFE_2_CSID_CLK_SRC>,
|
|
<&clock_camcc CAM_CC_IFE_2_CSID_CLK>,
|
|
<&clock_camcc CAM_CC_CPHY_RX_CLK_SRC>,
|
|
<&clock_camcc CAM_CC_IFE_2_CPHY_RX_CLK>,
|
|
<&clock_camcc CAM_CC_IFE_2_CLK_SRC>,
|
|
<&clock_camcc CAM_CC_IFE_2_CLK>,
|
|
<&clock_camcc CAM_CC_IFE_2_AXI_CLK>;
|
|
clock-rates =
|
|
<400000000 0 0 0 400000000 0 0>,
|
|
<400000000 0 0 0 558000000 0 0>,
|
|
<480000000 0 0 0 637000000 0 0>,
|
|
<600000000 0 0 0 760000000 0 0>;
|
|
clock-cntl-level = "lowsvs", "svs", "svs_l1", "turbo";
|
|
src-clock-name = "ife_csid_clk_src";
|
|
clock-control-debugfs = "true";
|
|
status = "ok";
|
|
};
|
|
|
|
cam_vfe2: qcom,vfe2@acbd000 {
|
|
cell-index = <4>;
|
|
compatible = "qcom,vfe175";
|
|
reg-names = "ife", "cam_camnoc";
|
|
reg = <0xacbd000 0x4000>,
|
|
<0xac42000 0x5000>;
|
|
reg-cam-base = <0xbd000 0x42000>;
|
|
interrupt-names = "ife";
|
|
interrupts = <0 765 0>;
|
|
regulator-names = "camss", "ife2";
|
|
camss-supply = <&titan_top_gdsc>;
|
|
ife2-supply = <&ife_2_gdsc>;
|
|
clock-names =
|
|
"ife_clk_src",
|
|
"ife_clk",
|
|
"ife_axi_clk";
|
|
clocks =
|
|
<&clock_camcc CAM_CC_IFE_2_CLK_SRC>,
|
|
<&clock_camcc CAM_CC_IFE_2_CLK>,
|
|
<&clock_camcc CAM_CC_IFE_2_AXI_CLK>;
|
|
clock-rates =
|
|
<400000000 0 0>,
|
|
<558000000 0 0>,
|
|
<637000000 0 0>,
|
|
<760000000 0 0>;
|
|
clock-cntl-level = "lowsvs", "svs", "svs_l1", "turbo";
|
|
src-clock-name = "ife_clk_src";
|
|
clock-control-debugfs = "true";
|
|
clock-names-option = "ife_dsp_clk";
|
|
clocks-option = <&clock_camcc CAM_CC_IFE_2_DSP_CLK>;
|
|
clock-rates-option = <760000000>;
|
|
status = "ok";
|
|
};
|
|
|
|
cam_csid3: qcom,csid3@ace4000 {
|
|
cell-index = <5>;
|
|
compatible = "qcom,csid175";
|
|
reg-names = "csid";
|
|
reg = <0xace4000 0x1000>;
|
|
reg-cam-base = <0xe4000>;
|
|
interrupt-names = "csid";
|
|
interrupts = <0 762 0>;
|
|
regulator-names = "camss", "ife3";
|
|
camss-supply = <&titan_top_gdsc>;
|
|
ife3-supply = <&ife_3_gdsc>;
|
|
clock-names =
|
|
"ife_csid_clk_src",
|
|
"ife_csid_clk",
|
|
"cphy_rx_clk_src",
|
|
"ife_cphy_rx_clk",
|
|
"ife_clk_src",
|
|
"ife_clk",
|
|
"ife_axi_clk";
|
|
clocks =
|
|
<&clock_camcc CAM_CC_IFE_3_CSID_CLK_SRC>,
|
|
<&clock_camcc CAM_CC_IFE_3_CSID_CLK>,
|
|
<&clock_camcc CAM_CC_CPHY_RX_CLK_SRC>,
|
|
<&clock_camcc CAM_CC_IFE_3_CPHY_RX_CLK>,
|
|
<&clock_camcc CAM_CC_IFE_3_CLK_SRC>,
|
|
<&clock_camcc CAM_CC_IFE_3_CLK>,
|
|
<&clock_camcc CAM_CC_IFE_3_AXI_CLK>;
|
|
clock-rates =
|
|
<400000000 0 0 0 400000000 0 0>,
|
|
<400000000 0 0 0 558000000 0 0>,
|
|
<480000000 0 0 0 637000000 0 0>,
|
|
<600000000 0 0 0 760000000 0 0>;
|
|
clock-cntl-level = "lowsvs", "svs", "svs_l1", "turbo";
|
|
src-clock-name = "ife_csid_clk_src";
|
|
clock-control-debugfs = "true";
|
|
status = "ok";
|
|
};
|
|
|
|
cam_vfe3: qcom,vfe3@ace0000 {
|
|
cell-index = <5>;
|
|
compatible = "qcom,vfe175";
|
|
reg-names = "ife", "cam_camnoc";
|
|
reg = <0xace0000 0x4000>,
|
|
<0xac42000 0x5000>;
|
|
reg-cam-base = <0xe0000 0x42000>;
|
|
interrupt-names = "ife";
|
|
interrupts = <0 764 0>;
|
|
regulator-names = "camss", "ife3";
|
|
camss-supply = <&titan_top_gdsc>;
|
|
ife3-supply = <&ife_3_gdsc>;
|
|
clock-names =
|
|
"ife_clk_src",
|
|
"ife_clk",
|
|
"ife_axi_clk";
|
|
clocks =
|
|
<&clock_camcc CAM_CC_IFE_3_CLK_SRC>,
|
|
<&clock_camcc CAM_CC_IFE_3_CLK>,
|
|
<&clock_camcc CAM_CC_IFE_3_AXI_CLK>;
|
|
clock-rates =
|
|
<400000000 0 0>,
|
|
<558000000 0 0>,
|
|
<637000000 0 0>,
|
|
<760000000 0 0>;
|
|
clock-cntl-level = "lowsvs", "svs", "svs_l1", "turbo";
|
|
src-clock-name = "ife_clk_src";
|
|
clock-control-debugfs = "true";
|
|
clock-names-option = "ife_dsp_clk";
|
|
clocks-option = <&clock_camcc CAM_CC_IFE_3_DSP_CLK>;
|
|
clock-rates-option = <760000000>;
|
|
status = "ok";
|
|
};
|
|
|
|
cam_csid_lite2: qcom,csid-lite2@acd6000 {
|
|
cell-index = <6>;
|
|
compatible = "qcom,csid-lite175";
|
|
reg-names = "csid-lite";
|
|
reg = <0xacd6000 0x1000>;
|
|
reg-cam-base = <0xd6000>;
|
|
interrupt-names = "csid-lite";
|
|
interrupts = <0 759 0>;
|
|
regulator-names = "camss";
|
|
camss-supply = <&titan_top_gdsc>;
|
|
clock-names =
|
|
"ife_csid_clk_src",
|
|
"ife_csid_clk",
|
|
"cphy_rx_clk_src",
|
|
"ife_cphy_rx_clk",
|
|
"ife_clk_src",
|
|
"ife_clk";
|
|
clocks =
|
|
<&clock_camcc CAM_CC_IFE_LITE_2_CSID_CLK_SRC>,
|
|
<&clock_camcc CAM_CC_IFE_LITE_2_CSID_CLK>,
|
|
<&clock_camcc CAM_CC_CPHY_RX_CLK_SRC>,
|
|
<&clock_camcc CAM_CC_IFE_LITE_2_CPHY_RX_CLK>,
|
|
<&clock_camcc CAM_CC_IFE_LITE_2_CLK_SRC>,
|
|
<&clock_camcc CAM_CC_IFE_LITE_2_CLK>;
|
|
clock-rates =
|
|
<400000000 0 0 0 320000000 0>,
|
|
<400000000 0 0 0 400000000 0>,
|
|
<480000000 0 0 0 480000000 0>,
|
|
<600000000 0 0 0 600000000 0>;
|
|
clock-cntl-level = "lowsvs", "svs", "svs_l1", "turbo";
|
|
src-clock-name = "ife_csid_clk_src";
|
|
clock-control-debugfs = "true";
|
|
status = "ok";
|
|
};
|
|
|
|
cam_vfe_lite2: qcom,vfe-lite2@acd2000 {
|
|
cell-index = <6>;
|
|
compatible = "qcom,vfe-lite175";
|
|
reg-names = "ife-lite";
|
|
reg = <0xacd2000 0x4000>;
|
|
reg-cam-base = <0xd2000>;
|
|
interrupt-names = "ife-lite";
|
|
interrupts = <0 761 0>;
|
|
regulator-names = "camss";
|
|
camss-supply = <&titan_top_gdsc>;
|
|
clock-names =
|
|
"ife_clk_src",
|
|
"ife_clk";
|
|
clocks =
|
|
<&clock_camcc CAM_CC_IFE_LITE_2_CLK_SRC>,
|
|
<&clock_camcc CAM_CC_IFE_LITE_2_CLK>;
|
|
clock-rates =
|
|
<320000000 0>,
|
|
<400000000 0>,
|
|
<480000000 0>,
|
|
<600000000 0>;
|
|
clock-cntl-level = "lowsvs", "svs", "svs_l1", "turbo";
|
|
src-clock-name = "ife_clk_src";
|
|
clock-control-debugfs = "true";
|
|
status = "ok";
|
|
};
|
|
|
|
cam_csid_lite3: qcom,csid-lite3@acdd000 {
|
|
cell-index = <7>;
|
|
compatible = "qcom,csid-lite175";
|
|
reg-names = "csid-lite";
|
|
reg = <0xacdd000 0x1000>;
|
|
reg-cam-base = <0xdd000>;
|
|
interrupt-names = "csid-lite";
|
|
interrupts = <0 758 0>;
|
|
regulator-names = "camss";
|
|
camss-supply = <&titan_top_gdsc>;
|
|
clock-names =
|
|
"ife_csid_clk_src",
|
|
"ife_csid_clk",
|
|
"cphy_rx_clk_src",
|
|
"ife_cphy_rx_clk",
|
|
"ife_clk_src",
|
|
"ife_clk";
|
|
clocks =
|
|
<&clock_camcc CAM_CC_IFE_LITE_3_CSID_CLK_SRC>,
|
|
<&clock_camcc CAM_CC_IFE_LITE_3_CSID_CLK>,
|
|
<&clock_camcc CAM_CC_CPHY_RX_CLK_SRC>,
|
|
<&clock_camcc CAM_CC_IFE_LITE_3_CPHY_RX_CLK>,
|
|
<&clock_camcc CAM_CC_IFE_LITE_3_CLK_SRC>,
|
|
<&clock_camcc CAM_CC_IFE_LITE_3_CLK>;
|
|
clock-rates =
|
|
<400000000 0 0 0 320000000 0>,
|
|
<400000000 0 0 0 400000000 0>,
|
|
<480000000 0 0 0 480000000 0>,
|
|
<600000000 0 0 0 600000000 0>;
|
|
clock-cntl-level = "lowsvs", "svs", "svs_l1", "turbo";
|
|
src-clock-name = "ife_csid_clk_src";
|
|
clock-control-debugfs = "true";
|
|
status = "ok";
|
|
};
|
|
|
|
cam_vfe_lite3: qcom,vfe-lite3@acd9000 {
|
|
cell-index = <7>;
|
|
compatible = "qcom,vfe-lite175";
|
|
reg-names = "ife-lite";
|
|
reg = <0xacd9000 0x4000>;
|
|
reg-cam-base = <0xd9000>;
|
|
interrupt-names = "ife-lite";
|
|
interrupts = <0 760 0>;
|
|
regulator-names = "camss";
|
|
camss-supply = <&titan_top_gdsc>;
|
|
clock-names =
|
|
"ife_clk_src",
|
|
"ife_clk";
|
|
clocks =
|
|
<&clock_camcc CAM_CC_IFE_LITE_3_CLK_SRC>,
|
|
<&clock_camcc CAM_CC_IFE_LITE_3_CLK>;
|
|
clock-rates =
|
|
<320000000 0>,
|
|
<400000000 0>,
|
|
<480000000 0>,
|
|
<600000000 0>;
|
|
clock-cntl-level = "lowsvs", "svs", "svs_l1", "turbo";
|
|
src-clock-name = "ife_clk_src";
|
|
clock-control-debugfs = "true";
|
|
status = "ok";
|
|
};
|
|
|
|
qcom,cam-icp {
|
|
compatible = "qcom,cam-icp";
|
|
compat-hw-name = "qcom,a5",
|
|
"qcom,ipe0",
|
|
"qcom,ipe1",
|
|
"qcom,bps";
|
|
num-a5 = <1>;
|
|
num-ipe = <2>;
|
|
num-bps = <1>;
|
|
icp_pc_en;
|
|
status = "ok";
|
|
};
|
|
|
|
cam_a5: qcom,a5@ac00000 {
|
|
cell-index = <0>;
|
|
compatible = "qcom,cam-a5";
|
|
reg = <0xac00000 0x6000>,
|
|
<0xac10000 0x8000>,
|
|
<0xac18000 0x3000>;
|
|
reg-names = "a5_qgic", "a5_sierra", "a5_csr";
|
|
reg-cam-base = <0x00000 0x10000 0x18000>;
|
|
interrupts = <0 463 0>;
|
|
interrupt-names = "a5";
|
|
regulator-names = "camss-vdd";
|
|
camss-vdd-supply = <&titan_top_gdsc>;
|
|
clock-names =
|
|
"soc_fast_ahb",
|
|
"icp_ahb_clk",
|
|
"icp_clk_src",
|
|
"icp_clk";
|
|
clocks =
|
|
<&clock_camcc CAM_CC_FAST_AHB_CLK_SRC>,
|
|
<&clock_camcc CAM_CC_ICP_AHB_CLK>,
|
|
<&clock_camcc CAM_CC_ICP_CLK_SRC>,
|
|
<&clock_camcc CAM_CC_ICP_CLK>;
|
|
|
|
clock-rates =
|
|
<200000000 0 400000000 0>,
|
|
<400000000 0 600000000 0>;
|
|
clock-cntl-level = "svs", "turbo";
|
|
fw_name = "CAMERA_ICP.elf";
|
|
ubwc-cfg = <0x7B 0x1EF>;
|
|
status = "ok";
|
|
};
|
|
|
|
cam_ipe0: qcom,ipe0 {
|
|
cell-index = <0>;
|
|
compatible = "qcom,cam-ipe";
|
|
reg = <0xac87000 0x3000>;
|
|
reg-names = "ipe0_top";
|
|
reg-cam-base = <0x87000>;
|
|
regulator-names = "ipe0-vdd";
|
|
ipe0-vdd-supply = <&ipe_0_gdsc>;
|
|
clock-names =
|
|
"ipe_0_ahb_clk",
|
|
"ipe_0_areg_clk",
|
|
"ipe_0_axi_clk",
|
|
"ipe_0_clk_src",
|
|
"ipe_0_clk";
|
|
src-clock-name = "ipe_0_clk_src";
|
|
clock-control-debugfs = "true";
|
|
clocks =
|
|
<&clock_camcc CAM_CC_IPE_0_AHB_CLK>,
|
|
<&clock_camcc CAM_CC_IPE_0_AREG_CLK>,
|
|
<&clock_camcc CAM_CC_IPE_0_AXI_CLK>,
|
|
<&clock_camcc CAM_CC_IPE_0_CLK_SRC>,
|
|
<&clock_camcc CAM_CC_IPE_0_CLK>;
|
|
|
|
clock-rates =
|
|
<0 0 0 300000000 0>,
|
|
<0 0 0 475000000 0>,
|
|
<0 0 0 520000000 0>,
|
|
<0 0 0 600000000 0>,
|
|
<0 0 0 600000000 0>;
|
|
clock-cntl-level = "lowsvs", "svs", "svs_l1",
|
|
"nominal", "turbo";
|
|
status = "ok";
|
|
};
|
|
|
|
cam_ipe1: qcom,ipe1 {
|
|
cell-index = <1>;
|
|
compatible = "qcom,cam-ipe";
|
|
reg = <0xac91000 0x3000>;
|
|
reg-names = "ipe1_top";
|
|
reg-cam-base = <0x91000>;
|
|
regulator-names = "ipe1-vdd";
|
|
ipe1-vdd-supply = <&ipe_1_gdsc>;
|
|
clock-names =
|
|
"ipe_1_ahb_clk",
|
|
"ipe_1_areg_clk",
|
|
"ipe_1_axi_clk",
|
|
"ipe_1_clk_src",
|
|
"ipe_1_clk";
|
|
src-clock-name = "ipe_1_clk_src";
|
|
clock-control-debugfs = "true";
|
|
clocks =
|
|
<&clock_camcc CAM_CC_IPE_1_AHB_CLK>,
|
|
<&clock_camcc CAM_CC_IPE_1_AREG_CLK>,
|
|
<&clock_camcc CAM_CC_IPE_1_AXI_CLK>,
|
|
<&clock_camcc CAM_CC_IPE_0_CLK_SRC>,
|
|
<&clock_camcc CAM_CC_IPE_1_CLK>;
|
|
|
|
clock-rates =
|
|
<0 0 0 300000000 0>,
|
|
<0 0 0 475000000 0>,
|
|
<0 0 0 520000000 0>,
|
|
<0 0 0 600000000 0>,
|
|
<0 0 0 600000000 0>;
|
|
clock-cntl-level = "lowsvs", "svs", "svs_l1",
|
|
"nominal", "turbo";
|
|
status = "ok";
|
|
};
|
|
|
|
cam_bps: qcom,bps {
|
|
cell-index = <0>;
|
|
compatible = "qcom,cam-bps";
|
|
reg = <0xac6f000 0x3000>;
|
|
reg-names = "bps_top";
|
|
reg-cam-base = <0x6f000>;
|
|
regulator-names = "bps-vdd";
|
|
bps-vdd-supply = <&bps_gdsc>;
|
|
clock-names =
|
|
"bps_ahb_clk",
|
|
"bps_areg_clk",
|
|
"bps_axi_clk",
|
|
"bps_clk_src",
|
|
"bps_clk";
|
|
src-clock-name = "bps_clk_src";
|
|
clock-control-debugfs = "true";
|
|
clocks =
|
|
<&clock_camcc CAM_CC_BPS_AHB_CLK>,
|
|
<&clock_camcc CAM_CC_BPS_AREG_CLK>,
|
|
<&clock_camcc CAM_CC_BPS_AXI_CLK>,
|
|
<&clock_camcc CAM_CC_BPS_CLK_SRC>,
|
|
<&clock_camcc CAM_CC_BPS_CLK>;
|
|
|
|
clock-rates =
|
|
<0 0 0 200000000 0>,
|
|
<0 0 0 400000000 0>,
|
|
<0 0 0 480000000 0>,
|
|
<0 0 0 600000000 0>,
|
|
<0 0 0 600000000 0>;
|
|
clock-cntl-level = "lowsvs", "svs", "svs_l1",
|
|
"nominal", "turbo";
|
|
status = "ok";
|
|
};
|
|
|
|
cam_jpeg_mgr: qcom,cam-jpeg {
|
|
compatible = "qcom,cam-jpeg";
|
|
compat-hw-name = "qcom,jpegenc",
|
|
"qcom,jpegdma";
|
|
num-jpeg-enc = <1>;
|
|
num-jpeg-dma = <1>;
|
|
status = "ok";
|
|
};
|
|
|
|
cam_jpeg_enc: qcom,jpegenc@ac4e000 {
|
|
cell-index = <0>;
|
|
compatible = "qcom,cam_jpeg_enc";
|
|
reg-names = "jpege_hw";
|
|
reg = <0xac4e000 0x4000>;
|
|
reg-cam-base = <0x4e000>;
|
|
interrupt-names = "jpeg";
|
|
interrupts = <0 474 0>;
|
|
regulator-names = "camss-vdd";
|
|
camss-vdd-supply = <&titan_top_gdsc>;
|
|
clock-names =
|
|
"jpegenc_clk_src",
|
|
"jpegenc_clk";
|
|
clocks =
|
|
<&clock_camcc CAM_CC_JPEG_CLK_SRC>,
|
|
<&clock_camcc CAM_CC_JPEG_CLK>;
|
|
|
|
clock-rates = <600000000 0>;
|
|
src-clock-name = "jpegenc_clk_src";
|
|
clock-cntl-level = "nominal";
|
|
status = "ok";
|
|
};
|
|
|
|
cam_jpeg_dma: qcom,jpegdma@0xac52000{
|
|
cell-index = <0>;
|
|
compatible = "qcom,cam_jpeg_dma";
|
|
reg-names = "jpegdma_hw";
|
|
reg = <0xac52000 0x4000>;
|
|
reg-cam-base = <0x52000>;
|
|
interrupt-names = "jpegdma";
|
|
interrupts = <0 475 0>;
|
|
regulator-names = "camss-vdd";
|
|
camss-vdd-supply = <&titan_top_gdsc>;
|
|
clock-names =
|
|
"jpegdma_clk_src",
|
|
"jpegdma_clk";
|
|
clocks =
|
|
<&clock_camcc CAM_CC_JPEG_CLK_SRC>,
|
|
<&clock_camcc CAM_CC_JPEG_CLK>;
|
|
|
|
clock-rates = <600000000 0>;
|
|
src-clock-name = "jpegdma_clk_src";
|
|
clock-cntl-level = "nominal";
|
|
status = "ok";
|
|
};
|
|
|
|
cam_fd_mgr: qcom,cam-fd {
|
|
compatible = "qcom,cam-fd";
|
|
compat-hw-name = "qcom,fd";
|
|
num-fd = <1>;
|
|
status = "ok";
|
|
};
|
|
|
|
cam_fd: qcom,fd@ac5a000 {
|
|
cell-index = <0>;
|
|
compatible = "qcom,fd501";
|
|
reg-names = "fd_core", "fd_wrapper";
|
|
reg = <0xac5a000 0x1000>,
|
|
<0xac5b000 0x400>;
|
|
reg-cam-base = <0x5a000 0x5b000>;
|
|
interrupt-names = "fd";
|
|
interrupts = <0 462 0>;
|
|
regulator-names = "camss-vdd";
|
|
camss-vdd-supply = <&titan_top_gdsc>;
|
|
clock-names =
|
|
"fd_core_clk_src",
|
|
"fd_core_clk",
|
|
"fd_core_uar_clk";
|
|
clocks =
|
|
<&clock_camcc CAM_CC_FD_CORE_CLK_SRC>,
|
|
<&clock_camcc CAM_CC_FD_CORE_CLK>,
|
|
<&clock_camcc CAM_CC_FD_CORE_UAR_CLK>;
|
|
src-clock-name = "fd_core_clk_src";
|
|
clock-control-debugfs = "true";
|
|
clock-cntl-level = "svs", "svs_l1", "turbo";
|
|
clock-rates =
|
|
<400000000 0 0>,
|
|
<480000000 0 0>,
|
|
<600000000 0 0>;
|
|
status = "ok";
|
|
};
|
|
|
|
cam_lrme_mgr: qcom,cam-lrme {
|
|
compatible = "qcom,cam-lrme";
|
|
arch-compat = "lrme";
|
|
status = "ok";
|
|
};
|
|
|
|
cam_lrme: qcom,lrme@ac6b000 {
|
|
cell-index = <0>;
|
|
compatible = "qcom,lrme";
|
|
reg-names = "lrme";
|
|
reg = <0xac6b000 0xa00>;
|
|
reg-cam-base = <0x6b000>;
|
|
interrupt-names = "lrme";
|
|
interrupts = <0 476 0>;
|
|
regulator-names = "camss";
|
|
camss-supply = <&titan_top_gdsc>;
|
|
clock-names =
|
|
"lrme_clk_src",
|
|
"lrme_clk";
|
|
clocks =
|
|
<&clock_camcc CAM_CC_LRME_CLK_SRC>,
|
|
<&clock_camcc CAM_CC_LRME_CLK>;
|
|
clock-rates =
|
|
<240000000 0>,
|
|
<300000000 0>,
|
|
<320000000 0>,
|
|
<400000000 0>;
|
|
clock-cntl-level = "lowsvs", "svs", "svs_l1", "turbo";
|
|
src-clock-name = "lrme_clk_src";
|
|
status = "ok";
|
|
};
|
|
};
|
|
|
|
/*Overlay to use AIS and disable unused devices*/
|
|
&cam_isp_mgr {
|
|
status = "disabled";
|
|
};
|
|
|
|
&cam_csid0 {
|
|
compatible = "qcom,ais-csid175";
|
|
};
|
|
|
|
&cam_vfe0 {
|
|
compatible = "qcom,ais-vfe175";
|
|
};
|
|
|
|
&cam_csid1 {
|
|
compatible = "qcom,ais-csid175";
|
|
};
|
|
|
|
&cam_vfe1 {
|
|
compatible = "qcom,ais-vfe175";
|
|
};
|
|
|
|
&cam_csid2 {
|
|
compatible = "qcom,ais-csid175";
|
|
};
|
|
|
|
&cam_vfe2 {
|
|
compatible = "qcom,ais-vfe175";
|
|
};
|
|
|
|
&cam_csid3 {
|
|
compatible = "qcom,ais-csid175";
|
|
};
|
|
|
|
&cam_vfe3 {
|
|
compatible = "qcom,ais-vfe175";
|
|
};
|
|
|
|
&cam_csid_lite0 {
|
|
compatible = "qcom,ais-csid-lite175";
|
|
};
|
|
|
|
&cam_vfe_lite0 {
|
|
compatible = "qcom,ais-vfe-lite175";
|
|
};
|
|
|
|
&cam_csid_lite1 {
|
|
compatible = "qcom,ais-csid-lite175";
|
|
};
|
|
|
|
&cam_vfe_lite1 {
|
|
compatible = "qcom,ais-vfe-lite175";
|
|
};
|
|
|
|
&cam_csid_lite2 {
|
|
compatible = "qcom,ais-csid-lite175";
|
|
};
|
|
|
|
&cam_vfe_lite2 {
|
|
compatible = "qcom,ais-vfe-lite175";
|
|
};
|
|
|
|
&cam_csid_lite3 {
|
|
compatible = "qcom,ais-csid-lite175";
|
|
};
|
|
|
|
&cam_vfe_lite3 {
|
|
compatible = "qcom,ais-vfe-lite175";
|
|
};
|
|
|
|
&cam_fd_mgr {
|
|
status = "disabled";
|
|
};
|
|
&cam_fd {
|
|
status = "disabled";
|
|
};
|
|
|
|
&cam_lrme_mgr {
|
|
status = "disabled";
|
|
};
|
|
&cam_lrme {
|
|
status = "disabled";
|
|
};
|
|
|
|
&soc {
|
|
/delete-node/ cam_isp_mgr;
|
|
/delete-node/ cam_fd_mgr;
|
|
/delete-node/ cam_fd;
|
|
/delete-node/ cam_lrme_mgr;
|
|
/delete-node/ cam_lrme;
|
|
|
|
qcom,ais-ife0 {
|
|
compatible = "qcom,ais-ife";
|
|
cell-index = <0>;
|
|
status = "ok";
|
|
};
|
|
|
|
qcom,ais-ife1 {
|
|
compatible = "qcom,ais-ife";
|
|
cell-index = <1>;
|
|
status = "ok";
|
|
};
|
|
|
|
qcom,ais-ife2 {
|
|
compatible = "qcom,ais-ife";
|
|
cell-index = <2>;
|
|
status = "ok";
|
|
};
|
|
|
|
qcom,ais-ife3 {
|
|
compatible = "qcom,ais-ife";
|
|
cell-index = <3>;
|
|
status = "ok";
|
|
};
|
|
|
|
qcom,ais-ife4 {
|
|
compatible = "qcom,ais-ife";
|
|
cell-index = <4>;
|
|
status = "ok";
|
|
};
|
|
|
|
qcom,ais-ife5 {
|
|
compatible = "qcom,ais-ife";
|
|
cell-index = <5>;
|
|
status = "ok";
|
|
};
|
|
|
|
qcom,ais-ife6 {
|
|
compatible = "qcom,ais-ife";
|
|
cell-index = <6>;
|
|
status = "ok";
|
|
};
|
|
|
|
qcom,ais-ife7 {
|
|
compatible = "qcom,ais-ife";
|
|
cell-index = <7>;
|
|
status = "ok";
|
|
};
|
|
};
|
|
|