diff options
author | Ye Li <ye.li@nxp.com> | 2020-01-15 22:56:24 -0800 |
---|---|---|
committer | Ye Li <ye.li@nxp.com> | 2020-01-20 01:18:46 -0800 |
commit | 0917c6768a7879f28f93f1493528041f51974dea (patch) | |
tree | cd54fd9c4b518e3bad76eaca8cae504d15bc2530 /arch/arm64/boot/dts/freescale/imx8qxp-mek-rpmsg.dts | |
parent | 3fcf0c3f23b89be4bfaf7bb1eca15e25c930c505 (diff) |
MLK-23243-2 arm64: dts: Add new DTS imx8x-mek for MEK common nodes
Abstract the MEK board DTS nodes to common files imx8x-mek.dtsi
and imx8x-mek-rpmsg.dtsi. So that we can share the board nodes
between 8QXP and 8DX MEK DTS
Signed-off-by: Ye Li <ye.li@nxp.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
(cherry picked from commit e1a4c61d3c0f9593ec0d2292cc4d510bcb59a01f)
Diffstat (limited to 'arch/arm64/boot/dts/freescale/imx8qxp-mek-rpmsg.dts')
-rw-r--r--[-rwxr-xr-x] | arch/arm64/boot/dts/freescale/imx8qxp-mek-rpmsg.dts | 234 |
1 files changed, 1 insertions, 233 deletions
diff --git a/arch/arm64/boot/dts/freescale/imx8qxp-mek-rpmsg.dts b/arch/arm64/boot/dts/freescale/imx8qxp-mek-rpmsg.dts index a77174816734..412f32a4b8b8 100755..100644 --- a/arch/arm64/boot/dts/freescale/imx8qxp-mek-rpmsg.dts +++ b/arch/arm64/boot/dts/freescale/imx8qxp-mek-rpmsg.dts @@ -2,236 +2,4 @@ // Copyright NXP 2019 #include "imx8qxp-mek.dts" - -/delete-node/ &cm40_i2c; -/delete-node/ &i2c1; - - -&i2c_rpbus_1 { - #address-cells = <1>; - #size-cells = <0>; - status = "okay"; - - ptn5110: tcpc@50 { - compatible = "nxp,ptn5110"; - pinctrl-names = "default"; - pinctrl-0 = <&pinctrl_typec>; - reg = <0x50>; - interrupt-parent = <&lsio_gpio1>; - interrupts = <3 IRQ_TYPE_LEVEL_LOW>; - status = "okay"; - - usb_con1: connector { - compatible = "usb-c-connector"; - label = "USB-C"; - power-role = "source"; - data-role = "dual"; - source-pdos = <PDO_FIXED(5000, 3000, PDO_FIXED_USB_COMM)>; - - ports { - #address-cells = <1>; - #size-cells = <0>; - - port@1 { - reg = <1>; - typec_con_ss: endpoint { - remote-endpoint = <&usb3_data_ss>; - }; - }; - }; - }; - }; -}; - -&i2c_rpbus_5 { - #address-cells = <1>; - #size-cells = <0>; - status = "okay"; - - pca6416: gpio@20 { - compatible = "ti,tca6416"; - reg = <0x20>; - gpio-controller; - #gpio-cells = <2>; - }; - - wm8960: wm8960@1a { - compatible = "wlf,wm8960"; - reg = <0x1a>; - clocks = <&mclkout0_lpcg 0>; - clock-names = "mclk"; - wlf,shared-lrclk; - power-domains = <&pd IMX_SC_R_MCLK_OUT_0>; - assigned-clocks = <&clk IMX_SC_R_AUDIO_PLL_0 IMX_SC_PM_CLK_PLL>, - <&clk IMX_SC_R_AUDIO_PLL_0 IMX_SC_PM_CLK_SLV_BUS>, - <&clk IMX_SC_R_AUDIO_PLL_0 IMX_SC_PM_CLK_MST_BUS>, - <&mclkout0_lpcg 0>; - assigned-clock-rates = <786432000>, <49152000>, <12288000>, <12288000>; - }; - - cs42888: cs42888@48 { - compatible = "cirrus,cs42888"; - reg = <0x48>; - clocks = <&mclkout0_lpcg 0>; - clock-names = "mclk"; - VA-supply = <®_audio>; - VD-supply = <®_audio>; - VLS-supply = <®_audio>; - VLC-supply = <®_audio>; - reset-gpio = <&pca9557_b 1 GPIO_ACTIVE_LOW>; - power-domains = <&pd IMX_SC_R_MCLK_OUT_0>, - <&pd IMX_SC_R_AUDIO_CLK_0>, - <&pd IMX_SC_R_AUDIO_CLK_1>, - <&pd IMX_SC_R_AUDIO_PLL_0>, - <&pd IMX_SC_R_AUDIO_PLL_1>; - power-domain-names = "pd_mclk_out_0", - "pd_audio_clk_0", - "pd_audio_clk_1", - "pd_audio_clk_0", - "pd_audio_clk_1"; - assigned-clocks = <&clk IMX_SC_R_AUDIO_PLL_0 IMX_SC_PM_CLK_PLL>, - <&clk IMX_SC_R_AUDIO_PLL_0 IMX_SC_PM_CLK_SLV_BUS>, - <&clk IMX_SC_R_AUDIO_PLL_0 IMX_SC_PM_CLK_MST_BUS>, - <&mclkout0_lpcg 0>; - assigned-clock-rates = <786432000>, <49152000>, <12288000>, <12288000>; - fsl,txs-rxm; - }; - - ov5640: ov5640@3c { - compatible = "ovti,ov5640"; - reg = <0x3c>; - pinctrl-names = "default"; - pinctrl-0 = <&pinctrl_parallel_csi>; - clocks = <&pi0_misc_lpcg 0>; - assigned-clocks = <&pi0_misc_lpcg 0>; - assigned-clock-rates = <24000000>; - clock-names = "xclk"; - powerdown-gpios = <&lsio_gpio3 2 GPIO_ACTIVE_HIGH>; - reset-gpios = <&lsio_gpio3 3 GPIO_ACTIVE_LOW>; - csi_id = <0>; - mclk = <24000000>; - mclk_source = <0>; - status = "okay"; - port { - ov5640_ep: endpoint { - remote-endpoint = <¶llel_csi_ep>; - bus-type = <5>; /* V4L2_FWNODE_BUS_TYPE_PARALLEL */ - bus-width = <8>; - vsync-active = <0>; - hsync-active = <1>; - pclk-sample = <1>; - }; - }; - }; -}; - -&i2c_rpbus_12 { - #address-cells = <1>; - #size-cells = <0>; - status = "okay"; - - max7322: gpio@68 { - compatible = "maxim,max7322"; - reg = <0x68>; - gpio-controller; - #gpio-cells = <2>; - }; -}; - -&i2c_rpbus_14 { - #address-cells = <1>; - #size-cells = <0>; - status = "okay"; - - fxos8700@1e { - compatible = "fsl,fxos8700"; - reg = <0x1e>; - interrupt-open-drain; - }; - - fxas2100x@21 { - compatible = "fsl,fxas2100x"; - reg = <0x21>; - interrupt-open-drain; - }; - - pressure-sensor@60 { - compatible = "fsl,mpl3115"; - reg = <0x60>; - interrupt-open-drain; - }; -}; - -&i2c_rpbus_15 { - #address-cells = <1>; - #size-cells = <0>; - status = "okay"; - - pca9557_a: gpio@1a { - compatible = "nxp,pca9557"; - reg = <0x1a>; - gpio-controller; - #gpio-cells = <2>; - }; - - pca9557_b: gpio@1d { - compatible = "nxp,pca9557"; - reg = <0x1d>; - gpio-controller; - #gpio-cells = <2>; - }; - - isl29023@44 { - pinctrl-names = "default"; - pinctrl-0 = <&pinctrl_isl29023>; - compatible = "fsl,isl29023"; - reg = <0x44>; - rext = <499>; - interrupt-parent = <&lsio_gpio1>; - interrupts = <2 2>; - }; -}; - -&cm40_i2c_lpcg { - status = "disabled"; -}; - -&i2c1_lpcg { - status = "disabled"; -}; - -&can0_lpcg { - status = "disabled"; -}; - -®_can_en { - status = "disabled"; -}; - -®_can_stby { - status = "disabled"; -}; - -&flexcan1 { - status = "disabled"; -}; - -&flexcan2 { - status = "disabled"; -}; - -&cm40_intmux { - status = "disabled"; -}; - -&flexspi0 { - status = "disabled"; -}; - -&lpuart3 { - status = "disabled"; -}; - -&uart3_lpcg { - status = "disabled"; -}; +#include "imx8x-mek-rpmsg.dtsi" |