mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 11:26:02 +09:00
dts: add isp and galcore support to w400-buildroot [1/2]
PD#SWPL-1819 Problem: lack of isp and galcore support in buildroot dts Solution: merge configurations from skt board Verify: local Change-Id: I5936341fc24719f345c7707e16e692ae292ca6fe Signed-off-by: Jun Zhang <jun.zhang@amlogic.com>
This commit is contained in:
@@ -150,8 +150,41 @@
|
||||
size = <0x0 0x04000000>;
|
||||
alignment = <0x0 0x400000>;
|
||||
};
|
||||
};
|
||||
galcore_reserved:linux,galcore {
|
||||
compatible = "shared-dma-pool";
|
||||
reusable;
|
||||
size = <0x0 0x1000000>;
|
||||
alignment = <0x0 0x400000>;
|
||||
linux,contiguous-region;
|
||||
};
|
||||
|
||||
isp_cma_reserved:linux,isp_cma {
|
||||
compatible = "shared-dma-pool";
|
||||
reusable;
|
||||
status = "okay";
|
||||
size = <0x0 0x1f000000>;
|
||||
alignment = <0x0 0x400000>;
|
||||
};
|
||||
|
||||
adapt_cma_reserved:linux,adapt_cma {
|
||||
compatible = "shared-dma-pool";
|
||||
reusable;
|
||||
status = "okay";
|
||||
size = <0x0 0x03000000>;
|
||||
alignment = <0x0 0x400000>;
|
||||
};
|
||||
gdc_cma_reserved:linux,gdc_cma {
|
||||
compatible = "shared-dma-pool";
|
||||
reusable;
|
||||
status = "okay";
|
||||
size = <0x0 0x04000000>;
|
||||
alignment = <0x0 0x400000>;
|
||||
};
|
||||
};
|
||||
galcore {
|
||||
status = "okay";
|
||||
memory-region = <&galcore_reserved>;
|
||||
};
|
||||
gpioleds {
|
||||
compatible = "gpio-leds";
|
||||
status = "okay";
|
||||
@@ -769,9 +802,55 @@
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
sensor: sensor {
|
||||
compatible = "soc, sensor";
|
||||
status = "okay";
|
||||
sensor-name = "imx290"; /*imx290;os08a10;imx227*/
|
||||
pinctrl-names="default";
|
||||
pinctrl-0=<&clk12_24_z_pins>;
|
||||
clocks = <&clkc CLKID_24M>;
|
||||
clock-names = "g12a_24m";
|
||||
reset = <&gpio GPIOZ_12 GPIO_ACTIVE_HIGH>;
|
||||
};
|
||||
|
||||
iq: iq {
|
||||
compatible = "soc, iq";
|
||||
status = "okay";
|
||||
sensor-name = "imx290"; /*imx290;os08a10;imx227*/
|
||||
};
|
||||
}; /* 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>;
|
||||
};
|
||||
|
||||
&gdc {
|
||||
status = "okay";
|
||||
memory-region = <&gdc_cma_reserved>;
|
||||
};
|
||||
|
||||
&meson_fb {
|
||||
status = "okay";
|
||||
display_size_default = <1920 1080 1920 2160 32>;
|
||||
@@ -793,6 +872,24 @@
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&i2c0 {
|
||||
status = "okay";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&i2c0_master_pins2>;
|
||||
clock-frequency = <400000>;
|
||||
|
||||
touchscreen@38 {
|
||||
compatible = "focaltech,fts";
|
||||
status = "disabled";
|
||||
reg = <0x38>;
|
||||
reset-gpio = <&gpio GPIOZ_9 GPIO_ACTIVE_HIGH>;
|
||||
irq-gpio = <&gpio GPIOZ_3 GPIO_ACTIVE_HIGH>;
|
||||
x_max = <720>;
|
||||
y_max = <1280>;
|
||||
max-touch-number = <10>;
|
||||
};
|
||||
};
|
||||
|
||||
&i2c3 {
|
||||
status = "okay";
|
||||
pinctrl-names="default";
|
||||
@@ -1065,6 +1162,14 @@
|
||||
};
|
||||
};
|
||||
|
||||
clk12_24_z_pins:clk12_24_z_pins {
|
||||
mux {
|
||||
groups = "clk12_24_z";
|
||||
function = "clk12_24_ee";
|
||||
drive-strength = <3>;
|
||||
};
|
||||
};
|
||||
|
||||
tdmout_c:tdmout_c {
|
||||
mux { /* GPIOA_12, GPIOA_13, GPIOA_8, GPIOA_7*/
|
||||
groups = "tdmc_sclk_a",
|
||||
@@ -1301,8 +1406,10 @@
|
||||
};
|
||||
ðmac {
|
||||
status = "okay";
|
||||
/* //conflict with isp i2c
|
||||
pinctrl-names = "internal_eth_pins";
|
||||
pinctrl-0 = <&internal_eth_pins>;
|
||||
*/
|
||||
mc_val = <0x4be04>;
|
||||
|
||||
internal_phy=<1>;
|
||||
@@ -1320,3 +1427,10 @@
|
||||
&saradc {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&spicc1 {
|
||||
status = "disabled";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&spicc1_pins>;
|
||||
cs-gpios = <&gpio GPIOH_6 0>;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user