Back to home page

OSCL-LXR

 
 

    


0001 Fujitsu MB86S7x GPIO Controller
0002 -------------------------------
0003 
0004 Required properties:
0005 - compatible: Should be "fujitsu,mb86s70-gpio"
0006 - reg: Base address and length of register space
0007 - clocks: Specify the clock
0008 - gpio-controller: Marks the device node as a gpio controller.
0009 - #gpio-cells: Should be <2>. The first cell is the pin number and the
0010   second cell is used to specify optional parameters:
0011    - bit 0 specifies polarity (0 for normal, 1 for inverted).
0012 
0013 Examples:
0014         gpio0: gpio@31000000 {
0015                 compatible = "fujitsu,mb86s70-gpio";
0016                 reg = <0 0x31000000 0x10000>;
0017                 gpio-controller;
0018                 #gpio-cells = <2>;
0019                 clocks = <&clk 0 2 1>;
0020         };