arm64: dts: imx8mp-somdevices.dtsi: Removed not used peripherals.
authorJosep Orga <jorga@somdevices.com>
Tue, 24 Oct 2023 16:13:14 +0000 (18:13 +0200)
committerJosep Orga <jorga@somdevices.com>
Tue, 24 Oct 2023 16:13:14 +0000 (18:13 +0200)
Signed-off-by: Josep Orga <jorga@somdevices.com>
arch/arm64/boot/dts/freescale/imx8mp-somdevices.dtsi

index 52002fb..855288e 100644 (file)
                      <0x1 0x00000000 0 0xc0000000>;
        };
 
-       reg_can1_stby: regulator-can1-stby {
-               compatible = "regulator-fixed";
-               regulator-name = "can1-stby";
-               pinctrl-names = "default";
-               pinctrl-0 = <&pinctrl_flexcan1_reg>;
-               regulator-min-microvolt = <3300000>;
-               regulator-max-microvolt = <3300000>;
-               gpio = <&gpio5 5 GPIO_ACTIVE_HIGH>;
-               enable-active-high;
-       };
-
-       reg_can2_stby: regulator-can2-stby {
-               compatible = "regulator-fixed";
-               regulator-name = "can2-stby";
-               pinctrl-names = "default";
-               pinctrl-0 = <&pinctrl_flexcan2_reg>;
-               regulator-min-microvolt = <3300000>;
-               regulator-max-microvolt = <3300000>;
-               gpio = <&gpio4 27 GPIO_ACTIVE_HIGH>;
-               enable-active-high;
-       };
-
        reg_usdhc2_vmmc: regulator-usdhc2 {
                compatible = "regulator-fixed";
                pinctrl-names = "default";
                enable-active-high;
        };
 
-       reg_audio_pwr: regulator-audio-pwr {
-               compatible = "regulator-fixed";
-               regulator-name = "audio-pwr";
-               regulator-min-microvolt = <3300000>;
-               regulator-max-microvolt = <3300000>;
-               gpio = <&gpio4 29 GPIO_ACTIVE_HIGH>;
-               enable-active-high;
-               regulator-always-on;
-       };
-
        bt_sco_codec: bt_sco_codec {
                #sound-dai-cells = <1>;
                compatible = "linux,bt-sco";
                status = "okay";
        };
 
-       sound-wm8960 {
-               compatible = "fsl,imx-audio-wm8960";
-               model = "wm8960-audio";
-               audio-cpu = <&sai3>;
-               audio-codec = <&codec>;
-               audio-asrc = <&easrc>;
-               hp-det-gpio = <&gpio4 28 0>;
-               audio-routing =
-                       "Headphone Jack", "HP_L",
-                       "Headphone Jack", "HP_R",
-                       "Ext Spk", "SPK_LP",
-                       "Ext Spk", "SPK_LN",
-                       "Ext Spk", "SPK_RP",
-                       "Ext Spk", "SPK_RN",
-                       "LINPUT1", "Mic Jack",
-                       "LINPUT3", "Mic Jack",
-                       "Mic Jack", "MICB";
-       };
-
-       sound-micfil {
-               compatible = "fsl,imx-audio-micfil";
-               model = "imx-audio-micfil";
-               cpu-dai = <&micfil>;
-       };
-
-       sound-xcvr {
-               compatible = "fsl,imx-audio-xcvr";
-               model = "imx-audio-xcvr";
-               cpu-dai = <&xcvr>;
-       };
-
        lvds_backlight: lvds_backlight {
                compatible = "pwm-backlight";
                pwms = <&pwm2 0 100000>;
                                    100>;
                default-brightness-level = <80>;
        };
-
-       cbtl04gp {
-               compatible = "nxp,cbtl04gp";
-               pinctrl-names = "default";
-               pinctrl-0 = <&pinctrl_typec_mux>;
-               switch-gpios = <&gpio4 20 GPIO_ACTIVE_LOW>;
-               orientation-switch;
-
-               port {
-                       usb3_data_ss: endpoint {
-                               remote-endpoint = <&typec_con_ss>;
-                       };
-               };
-       };
 };
 
 &A53_0 {
        status = "okay";
 };
 
-&pwm2 {
-       pinctrl-names = "default";
-       pinctrl-0 = <&pinctrl_pwm2>;
-       status = "okay";
-};
-
-&pwm4 {
-       pinctrl-names = "default";
-       pinctrl-0 = <&pinctrl_pwm4>;
-       status = "okay";
-};
-
 &aud2htx {
        status = "okay";
 };
        pinctrl-names = "default";
        pinctrl-0 = <&pinctrl_flexspi0>;
        status = "okay";
-
-       flash0: mt25qu256aba@0 {
-               reg = <0>;
-               #address-cells = <1>;
-               #size-cells = <1>;
-               compatible = "jedec,spi-nor";
-               spi-max-frequency = <80000000>;
-               spi-tx-bus-width = <4>;
-               spi-rx-bus-width = <4>;
-       };
 };
 
 &flexcan1 {
        pinctrl-names = "default";
        pinctrl-0 = <&pinctrl_flexcan1>;
-       xceiver-supply = <&reg_can1_stby>;
        status = "okay";
 };
 
 &flexcan2 {
        pinctrl-names = "default";
        pinctrl-0 = <&pinctrl_flexcan2>;
-       xceiver-supply = <&reg_can2_stby>;
-       pinctrl-assert-gpios = <&pca6416 3 GPIO_ACTIVE_HIGH>;
        status = "disabled";/* can2 pin conflict with pdm: gpio low select pdm, gpio high select can2 */
 };
 
        pinctrl-names = "default";
        pinctrl-0 = <&pinctrl_i2c2>;
        status = "okay";
-
-       adv_bridge: adv7535@3d {
-               compatible = "adi,adv7533";
-               reg = <0x3d>;
-               adi,addr-cec = <0x3b>;
-               adi,dsi-lanes = <4>;
-               status = "okay";
-
-               port {
-                       adv7535_from_dsim: endpoint {
-                               remote-endpoint = <&dsim_to_adv7535>;
-                       };
-               };
-       };
-
-       lvds_bridge: lvds-to-hdmi-bridge@4c {
-               compatible = "ite,it6263";
-               reg = <0x4c>;
-               reset-gpios = <&gpio1 10 GPIO_ACTIVE_LOW>;
-
-               port {
-                       it6263_in: endpoint {
-                               remote-endpoint = <&lvds_out>;
-                       };
-               };
-       };
-
-       ov5640_0: ov5640_mipi@3c {
-               compatible = "ovti,ov5640";
-               reg = <0x3c>;
-               pinctrl-names = "default";
-               pinctrl-0 = <&pinctrl_csi0_pwn>, <&pinctrl_csi0_rst>, <&pinctrl_csi_mclk>;
-               clocks = <&clk IMX8MP_CLK_IPP_DO_CLKO2>;
-               clock-names = "xclk";
-               assigned-clocks = <&clk IMX8MP_CLK_IPP_DO_CLKO2>;
-               assigned-clock-parents = <&clk IMX8MP_CLK_24M>;
-               assigned-clock-rates = <24000000>;
-               csi_id = <0>;
-               powerdown-gpios = <&gpio2 11 GPIO_ACTIVE_HIGH>;
-               reset-gpios = <&gpio1 6 GPIO_ACTIVE_LOW>;
-               mclk = <24000000>;
-               mclk_source = <0>;
-               mipi_csi;
-               status = "okay";
-
-               port {
-                       ov5640_mipi_0_ep: endpoint {
-                               remote-endpoint = <&mipi_csi0_ep>;
-                               data-lanes = <1 2>;
-                               clock-lanes = <0>;
-                       };
-               };
-       };
-
-       ptn5110: tcpc@50 {
-               compatible = "nxp,ptn5110";
-               pinctrl-names = "default";
-               pinctrl-0 = <&pinctrl_typec>;
-               reg = <0x50>;
-               interrupt-parent = <&gpio4>;
-               interrupts = <19 8>;
-
-               port {
-                       typec_dr_sw: endpoint {
-                               remote-endpoint = <&usb3_drd_sw>;
-                       };
-               };
-
-               usb_con: connector {
-                       compatible = "usb-c-connector";
-                       label = "USB-C";
-                       power-role = "dual";
-                       data-role = "dual";
-                       try-power-role = "sink";
-                       source-pdos = <PDO_FIXED(5000, 3000, PDO_FIXED_USB_COMM)>;
-                       sink-pdos = <PDO_FIXED(5000, 3000, PDO_FIXED_USB_COMM)
-                                    PDO_VAR(5000, 20000, 3000)>;
-                       op-sink-microwatt = <15000000>;
-                       self-powered;
-
-                       ports {
-                               #address-cells = <1>;
-                               #size-cells = <0>;
-
-                               port@1 {
-                                       reg = <1>;
-                                       typec_con_ss: endpoint {
-                                               remote-endpoint = <&usb3_data_ss>;
-                                       };
-                               };
-                       };
-               };
-       };
 };
 
 &i2c3 {
        pinctrl-names = "default";
        pinctrl-0 = <&pinctrl_i2c3>;
        status = "okay";
-
-       pca6416: gpio@20 {
-               compatible = "ti,tca6416";
-               reg = <0x20>;
-               gpio-controller;
-               #gpio-cells = <2>;
-       };
-
-       codec: wm8960@1a {
-               compatible = "wlf,wm8960";
-               reg = <0x1a>;
-               clocks = <&audio_blk_ctrl IMX8MP_CLK_AUDIO_BLK_CTRL_SAI3_MCLK1>;
-               clock-names = "mclk";
-               wlf,shared-lrclk;
-               wlf,hp-cfg = <3 2 3>;
-               wlf,gpio-cfg = <1 3>;
-               SPKVDD1-supply = <&reg_audio_pwr>;
-       };
-
-       ov5640_1: ov5640_mipi@3c {
-               compatible = "ovti,ov5640";
-               reg = <0x3c>;
-               pinctrl-names = "default";
-               pinctrl-0 = <&pinctrl_csi0_pwn>, <&pinctrl_csi0_rst>, <&pinctrl_csi_mclk>;
-               clocks = <&clk IMX8MP_CLK_IPP_DO_CLKO2>;
-               clock-names = "xclk";
-               assigned-clocks = <&clk IMX8MP_CLK_IPP_DO_CLKO2>;
-               assigned-clock-parents = <&clk IMX8MP_CLK_24M>;
-               assigned-clock-rates = <24000000>;
-               csi_id = <0>;
-               powerdown-gpios = <&gpio4 1 GPIO_ACTIVE_HIGH>;
-               reset-gpios = <&gpio4 0 GPIO_ACTIVE_LOW>;
-               mclk = <24000000>;
-               mclk_source = <0>;
-               mipi_csi;
-               status = "disabled";
-
-               port {
-                       ov5640_mipi_1_ep: endpoint {
-                               remote-endpoint = <&mipi_csi1_ep>;
-                               data-lanes = <1 2>;
-                               clock-lanes = <0>;
-                       };
-               };
-       };
 };
 
 &irqsteer_hdmi {
 
 &ldb {
        status = "okay";
-
-       lvds-channel@0 {
-               fsl,data-mapping = "jeida";
-               fsl,data-width = <24>;
-               status = "okay";
-
-               port@1 {
-                       reg = <1>;
-
-                       lvds_out: endpoint {
-                               remote-endpoint = <&it6263_in>;
-                       };
-               };
-       };
 };
 
 &ldb_phy {
 
 &mipi_dsi {
        status = "okay";
-
-       port@1 {
-               dsim_to_adv7535: endpoint {
-                       remote-endpoint = <&adv7535_from_dsim>;
-                       attach-bridge;
-               };
-       };
 };
 
 &snvs_pwrkey {
        status = "okay";
 };
 
-&micfil {
-       pinctrl-names = "default";
-       pinctrl-0 = <&pinctrl_pdm>;
-       assigned-clocks = <&clk IMX8MP_CLK_PDM>;
-       assigned-clock-parents = <&clk IMX8MP_AUDIO_PLL1_OUT>;
-       assigned-clock-rates = <196608000>;
-       status = "okay";
-};
-
 &pcie{
        pinctrl-names = "default";
        pinctrl-0 = <&pinctrl_pcie>;
                                 <&clk IMX8MP_SYS_PLL2_50M>;
        l1ss-disabled;
        status = "okay";
-
-       wifi_wake_host {
-               compatible = "nxp,wifi-wake-host";
-               interrupt-parent = <&gpio5>;
-               interrupts = <21 IRQ_TYPE_LEVEL_LOW>;
-               interrupt-names = "host-wake";
-       };
 };
 
 &pcie_ep{
        status = "okay";
 };
 
-&sai2 {
-       #sound-dai-cells = <0>;
-       pinctrl-names = "default";
-       pinctrl-0 = <&pinctrl_sai2>;
-       assigned-clocks = <&clk IMX8MP_CLK_SAI2>;
-       assigned-clock-parents = <&clk IMX8MP_AUDIO_PLL1_OUT>;
-       assigned-clock-rates = <12288000>;
-       status = "okay";
-};
-
 &sai3 {
        pinctrl-names = "default";
        pinctrl-0 = <&pinctrl_sai3>;
 };
 
 &usb3_phy0 {
-       vbus-power-supply = <&ptn5110>;
-       fsl,phy-tx-vref-tune = <0xe>;
-       fsl,phy-tx-preemp-amp-tune = <3>;
-       fsl,phy-tx-vboost-level = <5>;
-       fsl,phy-comp-dis-tune = <7>;
-       fsl,pcs-tx-deemph-3p5db = <0x21>;
-       fsl,phy-pcs-tx-swing-full = <0x7f>;
        status = "okay";
 };
 
        srp-disable;
        adp-disable;
        usb-role-switch;
-       role-switch-default-mode = "none";
        status = "okay";
-
-       port {
-               usb3_drd_sw: endpoint {
-                       remote-endpoint = <&typec_dr_sw>;
-               };
-       };
 };
 
 &usb3_phy1 {
                >;
        };
 
-       pinctrl_pwm2: pwm2grp {
-               fsl,pins = <
-                       MX8MP_IOMUXC_GPIO1_IO11__PWM2_OUT       0x116
-               >;
-       };
-
-       pinctrl_pwm4: pwm4grp {
-               fsl,pins = <
-                       MX8MP_IOMUXC_SAI5_RXFS__PWM4_OUT        0x116
-               >;
-       };
-
        pinctrl_ecspi2: ecspi2grp {
                fsl,pins = <
                        MX8MP_IOMUXC_ECSPI2_SCLK__ECSPI2_SCLK           0x82
                >;
        };
 
-       pinctrl_flexcan1_reg: flexcan1reggrp {
-               fsl,pins = <
-                       MX8MP_IOMUXC_SPDIF_EXT_CLK__GPIO5_IO05  0x154   /* CAN1_STBY */
-               >;
-       };
-
-       pinctrl_flexcan2_reg: flexcan2reggrp {
-               fsl,pins = <
-                       MX8MP_IOMUXC_SAI2_MCLK__GPIO4_IO27      0x154   /* CAN2_STBY */
-               >;
-       };
-
        pinctrl_flexspi0: flexspi0grp {
                fsl,pins = <
                        MX8MP_IOMUXC_NAND_ALE__FLEXSPI_A_SCLK           0x1c2
                >;
        };
 
-       pinctrl_mipi_dsi_en: mipi_dsi_en {
-               fsl,pins = <
-                       MX8MP_IOMUXC_GPIO1_IO08__GPIO1_IO08     0x16
-               >;
-       };
-
        pinctrl_pcie: pciegrp {
                fsl,pins = <
                        MX8MP_IOMUXC_I2C4_SCL__PCIE_CLKREQ_B            0x61 /* open drain, pull up */
                >;
        };
 
-       pinctrl_pdm: pdmgrp {
-               fsl,pins = <
-                       MX8MP_IOMUXC_SAI5_RXC__AUDIOMIX_PDM_CLK         0xd6
-                       MX8MP_IOMUXC_SAI5_RXD0__AUDIOMIX_PDM_BIT_STREAM00       0xd6
-                       MX8MP_IOMUXC_SAI5_RXD1__AUDIOMIX_PDM_BIT_STREAM01       0xd6
-                       MX8MP_IOMUXC_SAI5_RXD2__AUDIOMIX_PDM_BIT_STREAM02       0xd6
-                       MX8MP_IOMUXC_SAI5_RXD3__AUDIOMIX_PDM_BIT_STREAM03       0xd6
-               >;
-       };
-
-       pinctrl_sai2: sai2grp {
-               fsl,pins = <
-                       MX8MP_IOMUXC_SAI2_TXC__AUDIOMIX_SAI2_TX_BCLK    0xd6
-                       MX8MP_IOMUXC_SAI2_TXFS__AUDIOMIX_SAI2_TX_SYNC   0xd6
-                       MX8MP_IOMUXC_SAI2_TXD0__AUDIOMIX_SAI2_TX_DATA00 0xd6
-                       MX8MP_IOMUXC_SAI2_RXD0__AUDIOMIX_SAI2_RX_DATA00 0xd6
-               >;
-       };
-
        pinctrl_sai3: sai3grp {
                fsl,pins = <
                        MX8MP_IOMUXC_SAI3_TXFS__AUDIOMIX_SAI3_TX_SYNC   0xd6
                >;
        };
 
-       pinctrl_i2c2_synaptics_dsx_io: synaptics_dsx_iogrp {
-               fsl,pins = <
-                       MX8MP_IOMUXC_GPIO1_IO09__GPIO1_IO09             0x16
-               >;
-       };
-
        pinctrl_uart1: uart1grp {
                fsl,pins = <
                        MX8MP_IOMUXC_UART1_RXD__UART1_DCE_RX    0x140
                >;
        };
 
-       pinctrl_typec: typec1grp {
-               fsl,pins = <
-                       MX8MP_IOMUXC_SAI1_TXD7__GPIO4_IO19      0x1c4
-               >;
-       };
-
-       pinctrl_typec_mux: typec1muxgrp {
-               fsl,pins = <
-                       MX8MP_IOMUXC_SAI1_MCLK__GPIO4_IO20      0x16
-               >;
-       };
-
        pinctrl_uart2: uart2grp {
                fsl,pins = <
                        MX8MP_IOMUXC_UART2_RXD__UART2_DCE_RX    0x49
                        MX8MP_IOMUXC_GPIO1_IO02__WDOG1_WDOG_B   0xc6
                >;
        };
-
-       pinctrl_csi0_pwn: csi0_pwn_grp {
-               fsl,pins = <
-                       MX8MP_IOMUXC_SD1_STROBE__GPIO2_IO11     0x19
-               >;
-       };
-
-       pinctrl_csi0_rst: csi0_rst_grp {
-               fsl,pins = <
-                       MX8MP_IOMUXC_GPIO1_IO06__GPIO1_IO06             0x19
-               >;
-       };
-
-       pinctrl_csi_mclk: csi_mclk_grp {
-               fsl,pins = <
-                       MX8MP_IOMUXC_GPIO1_IO15__CCM_CLKO2      0x59
-               >;
-       };
 };
 
 &vpu_g1 {
        #address-cells = <1>;
        #size-cells = <0>;
        status = "okay";
-
-       port@0 {
-               reg = <0>;
-               mipi_csi0_ep: endpoint {
-                       remote-endpoint = <&ov5640_mipi_0_ep>;
-                       data-lanes = <2>;
-                       csis-hs-settle = <13>;
-                       csis-clk-settle = <2>;
-                       csis-wclk;
-               };
-       };
 };
 
 &mipi_csi_1 {
        #address-cells = <1>;
        #size-cells = <0>;
        status = "disabled";
-
-       port@1 {
-               reg = <1>;
-               mipi_csi1_ep: endpoint {
-                       remote-endpoint = <&ov5640_mipi_1_ep>;
-                       data-lanes = <2>;
-                       csis-hs-settle = <13>;
-                       csis-clk-settle = <2>;
-                       csis-wclk;
-               };
-       };
 };
 
 &cameradev {