Compatible=fsl,mpc8349-gpio

From FDTWiki

Jump to: navigation, search

GPIO controllers on MPC8xxx SoCs. This is for the non-QE/CPM/GUTs GPIO controllers as found on some MPC8xxx parts including the MPC8349, MPC8572 and MPC8610.

Binds to
compatible
fsl,mpc8349-gpio
fsl,mpc8572-gpio
fsl,mpc8610-gpio

Required properties

compatible string list notes
#gpio-cells 1 cell Must equal '2'.
  • First cell is pin number.
  • Second cell is flags (currently unused).
interrupts
reg
gpio-controller empty Marks the port as GPIO controller.

Example

gpio-controller nodes for an MPC8347 SoC:

       gpio1: gpio-controller@c00 {
               #gpio-cells = <2>;
               compatible = "fsl,mpc8347-gpio", "fsl,mpc8349-gpio";
               reg = <0xc00 0x100>;
               interrupts = <74 0x8>;
               interrupt-parent = <&ipic>;
               gpio-controller;
       };
       gpio2: gpio-controller@d00 {
               #gpio-cells = <2>;
               compatible = "fsl,mpc8347-gpio", "fsl,mpc8349-gpio";
               reg = <0xd00 0x100>;
               interrupts = <75 0x8>;
               interrupt-parent = <&ipic>;
               gpio-controller;
       };

See booting-without-of.txt for details of how to specify GPIO information for devices.

Personal tools