Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-src
Path: blob/main/sys/contrib/device-tree/Bindings/gpio/fujitsu,mb86s70-gpio.txt
48375 views
1
Fujitsu MB86S7x GPIO Controller
2
-------------------------------
3
4
Required properties:
5
- compatible: Should be "fujitsu,mb86s70-gpio"
6
- reg: Base address and length of register space
7
- clocks: Specify the clock
8
- gpio-controller: Marks the device node as a gpio controller.
9
- #gpio-cells: Should be <2>. The first cell is the pin number and the
10
second cell is used to specify optional parameters:
11
- bit 0 specifies polarity (0 for normal, 1 for inverted).
12
13
Examples:
14
gpio0: gpio@31000000 {
15
compatible = "fujitsu,mb86s70-gpio";
16
reg = <0 0x31000000 0x10000>;
17
gpio-controller;
18
#gpio-cells = <2>;
19
clocks = <&clk 0 2 1>;
20
};
21
22