This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM625: Linux GPIO driver for MCU_GPIO

Part Number: AM625

Does the current Linux PSDK 8.03 GPIO driver support MCU_GPIO?

  • Hi! The subject owner is out of the office today. Please allow some time for a response. Thanks.

  • Hi Tony,

    The MCU_GPIO is defined in kernel k3-am62-mcu.dtsi, so yes the kernel gpio driver supports MCU_GPIO module.

  • Bin,

    Thanks. So all MCU peripherals configured in .dts supported by Kenel driver too?

        mcu_uart0: serial@4a00000 {

            compatible = "ti,am64-uart", "ti,am654-uart";

            reg = <0x00 0x04a00000 0x00 0x100>;

            reg-shift = <2>;

            reg-io-width = <4>;

            interrupts = <GIC_SPI 185 IRQ_TYPE_LEVEL_HIGH>;

            clock-frequency = <48000000>;

            current-speed = <115200>;

            power-domains = <&k3_pds 149 TI_SCI_PD_EXCLUSIVE>;

            clocks = <&k3_clks 149 0>;

            clock-names = "fclk";

        };

     

        mcu_uart1: serial@4a10000 {

            compatible = "ti,am64-uart", "ti,am654-uart";

            reg = <0x00 0x04a10000 0x00 0x100>;

            reg-shift = <2>;

            reg-io-width = <4>;

            interrupts = <GIC_SPI 186 IRQ_TYPE_LEVEL_HIGH>;

            clock-frequency = <48000000>;

            current-speed = <115200>;

            power-domains = <&k3_pds 160 TI_SCI_PD_EXCLUSIVE>;

            clocks = <&k3_clks 160 0>;

            clock-names = "fclk";

        };

     

        mcu_i2c0: i2c@4900000 {

            compatible = "ti,am64-i2c", "ti,omap4-i2c";

            reg = <0x00 0x04900000 0x00 0x100>;

            interrupts = <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>;

            #address-cells = <1>;

            #size-cells = <0>;

            power-domains = <&k3_pds 106 TI_SCI_PD_EXCLUSIVE>;

            clocks = <&k3_clks 106 2>;

            clock-names = "fck";

        };

     

        mcu_i2c1: i2c@4910000 {

            compatible = "ti,am64-i2c", "ti,omap4-i2c";

            reg = <0x00 0x04910000 0x00 0x100>;

            interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;

            #address-cells = <1>;

            #size-cells = <0>;

            power-domains = <&k3_pds 107 TI_SCI_PD_EXCLUSIVE>;

            clocks = <&k3_clks 107 2>;

            clock-names = "fck";

        };

     

        mcu_spi0: spi@4b00000 {

            compatible = "ti,am654-mcspi", "ti,omap4-mcspi";

            reg = <0x00 0x04b00000 0x00 0x400>;

            interrupts = <GIC_SPI 176 IRQ_TYPE_LEVEL_HIGH>;

            #address-cells = <1>;

            #size-cells = <0>;

            power-domains = <&k3_pds 147 TI_SCI_PD_EXCLUSIVE>;

            clocks = <&k3_clks 147 0>;

        };

     

        mcu_spi1: spi@4b10000 {

            compatible = "ti,am654-mcspi","ti,omap4-mcspi";

            reg = <0x00 0x04b10000 0x00 0x400>;

            interrupts = <GIC_SPI 177 IRQ_TYPE_LEVEL_HIGH>;

            #address-cells = <1>;

            #size-cells = <0>;

            power-domains = <&k3_pds 148 TI_SCI_PD_EXCLUSIVE>;

            clocks = <&k3_clks 148 0>;

        };

     

        mcu_gpio_intr: interrupt-controller1 {

            compatible = "ti,sci-intr";

            ti,intr-trigger-type = <1>;

            interrupt-controller;

            interrupt-parent = <&gic500>;

            #interrupt-cells = <1>;

            ti,sci = <&dmsc>;

            ti,sci-dev-id = <5>;

            ti,interrupt-ranges = <0 104 4>;

        };

     

        mcu_gpio0: gpio@4201000 {

            compatible = "ti,am64-gpio", "keystone-gpio";

            reg = <0x0 0x4201000 0x0 0x100>;

            gpio-controller;

            #gpio-cells = <2>;

            interrupt-parent = <&mcu_gpio_intr>;

            interrupts = <30>, <31>;

            interrupt-controller;

            #interrupt-cells = <2>;

            ti,ngpio = <23>;

            ti,davinci-gpio-unbanked = <0>;

            power-domains = <&k3_pds 79 TI_SCI_PD_EXCLUSIVE>;

            clocks = <&k3_clks 79 0>;

            clock-names = "gpio";

        };

  • Tony,

    So all MCU peripherals configured in .dts supported by Kenel driver too?

    Correct.