summaryrefslogtreecommitdiffstats
path: root/dts/Bindings/gpio/gpio-etraxfs.txt
blob: abf4db736c6e3f64d6b685f5ea6075530f374a4b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Axis ETRAX FS General I/O controller bindings

Required properties:

- compatible:
  - "axis,etraxfs-gio"
- reg: Physical base address and length of the controller's registers.
- #gpio-cells: Should be 3
  - The first cell is the gpio offset number.
  - The second cell is reserved and is currently unused.
  - The third cell is the port number (hex).
- gpio-controller: Marks the device node as a GPIO controller.

Example:

	gio: gpio@b001a000 {
		compatible = "axis,etraxfs-gio";
		reg = <0xb001a000 0x1000>;
		gpio-controller;
		#gpio-cells = <3>;
	};