mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 11:26:02 +09:00
dts: add isp & mipi dts
PD#165090: add isp & mipi dts Change-Id: I98a46f48ddd62db40350f8717961c047b5230410 Signed-off-by: Jiacheng Mei <jiacheng.mei@amlogic.com>
This commit is contained in:
@@ -143,6 +143,22 @@
|
||||
alignment = <0x0 0x400000>;
|
||||
linux,contiguous-region;
|
||||
};
|
||||
|
||||
isp_cma_reserved:linux,isp_cma {
|
||||
compatible = "shared-dma-pool";
|
||||
reusable;
|
||||
status = "okay";
|
||||
size = <0x0 0x08000000>;
|
||||
alignment = <0x0 0x400000>;
|
||||
};
|
||||
|
||||
adapt_cma_reserved:linux,adapt_cma {
|
||||
compatible = "shared-dma-pool";
|
||||
reusable;
|
||||
status = "okay";
|
||||
size = <0x0 0x03000000>;
|
||||
alignment = <0x0 0x400000>;
|
||||
};
|
||||
};
|
||||
galcore {
|
||||
status = "okay";
|
||||
@@ -642,8 +658,41 @@
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
|
||||
sensor: sensor {
|
||||
compatible = "soc, sensor";
|
||||
status = "okay";
|
||||
pinctrl-names="default";
|
||||
pinctrl-0=<&clk12_24_z_pins>;
|
||||
clocks = <&clkc CLKID_24M>;
|
||||
clock-names = "g12a_24m";
|
||||
reset = <&gpio GPIOZ_12 GPIO_ACTIVE_HIGH>;
|
||||
};
|
||||
}; /* end of / */
|
||||
&i2c2 {
|
||||
status = "okay";
|
||||
pinctrl-names="default";
|
||||
pinctrl-0=<&i2c2_master_pins2>;
|
||||
clock-frequency = <100000>; /* default 100k */
|
||||
sensor-i2c@6c {
|
||||
compatible = "arm, i2c-sensor";
|
||||
reg = <0x6c>;
|
||||
reg-names = "i2c-sensor";
|
||||
slave-addr = <0x6c>;
|
||||
reg-type = <2>;
|
||||
reg-data-type = <1>;
|
||||
link-device = <&phycsi>;
|
||||
};
|
||||
};
|
||||
|
||||
&isp {
|
||||
status = "okay";
|
||||
memory-region = <&isp_cma_reserved>;
|
||||
};
|
||||
|
||||
&adapter {
|
||||
status = "okay";
|
||||
memory-region = <&adapt_cma_reserved>;
|
||||
};
|
||||
|
||||
&meson_fb {
|
||||
status = "okay";
|
||||
|
||||
@@ -1833,6 +1833,50 @@
|
||||
interrupts = <0 52 1>;
|
||||
interrupt-names = "ddr_bandwidth";
|
||||
};
|
||||
|
||||
isp: isp@ff140000 {
|
||||
compatible = "arm, isp";
|
||||
reg = <0x0 0xff140000 0x0 0x00040000>;
|
||||
reg-names = "ISP";
|
||||
interrupts = <0 142 4>;
|
||||
interrupt-names = "ISP";
|
||||
clocks = <&clkc CLKID_MIPI_ISP_CLK_COMP>,
|
||||
<&clkc CLKID_MIPI_CSI_PHY_CLK0_COMP>;
|
||||
clock-names = "cts_mipi_isp_clk_composite",
|
||||
"cts_mipi_csi_phy_clk0_composite";
|
||||
};
|
||||
|
||||
adapter: isp-adapter@ff650000 {
|
||||
compatible = "amlogic, isp-adapter";
|
||||
reg = <0x0 0xff650000 0x0 0x00006000>;
|
||||
reg-names = "adapter";
|
||||
interrupts = <0 179 0>;
|
||||
interrupt-names = "adapter-irq";
|
||||
};
|
||||
|
||||
phycsi: phy-csi@ff650000 {
|
||||
compatible = "amlogic, phy-csi";
|
||||
reg = <0x0 0xff650000 0x0 0x00002000>,
|
||||
<0x0 0xff652000 0x0 0x00002000>,
|
||||
<0x0 0xff63c300 0x0 0x00000100>,
|
||||
<0x0 0xff654000 0x0 0x00000100>,
|
||||
<0x0 0xff654400 0x0 0x00000100>;
|
||||
reg-names = "csi2_phy0", "csi2_phy1", "aphy_reg",
|
||||
"csi0_host", "csi1_host";
|
||||
interrupts = <0 41 0>,
|
||||
<0 42 0>,
|
||||
<0 72 0>,
|
||||
<0 74 0>,
|
||||
<0 87 0>,
|
||||
<0 88 0>;
|
||||
interrupt-names = "phy0-irq",
|
||||
"phy1-irq",
|
||||
"csi-host0-intr2",
|
||||
"csi-host0-intr1",
|
||||
"csi-host1-intr2",
|
||||
"csi-host1-intr1";
|
||||
link-device = <&adapter>;
|
||||
};
|
||||
};/* end of / */
|
||||
|
||||
&pinctrl_aobus {
|
||||
@@ -2340,6 +2384,14 @@
|
||||
};
|
||||
};
|
||||
|
||||
clk12_24_z_pins:clk12_24_z_pins {
|
||||
mux {
|
||||
groups = "clk12_24_z";
|
||||
function = "clk12_24_ee";
|
||||
drive-strength = <3>;
|
||||
};
|
||||
};
|
||||
|
||||
spicc0_pins_x: spicc0_pins_x {
|
||||
mux {
|
||||
groups = "spi0_mosi_x",
|
||||
|
||||
Reference in New Issue
Block a user