1 Bindings for the Western Digital's MyBook Live memory-mapped GPIO controllers.
3 The Western Digital MyBook Live has two memory-mapped GPIO controllers.
4 Both GPIO controller only have a single 8-bit data register, where GPIO
5 state can be read and/or written.
8 - compatible: should be "wd,mbl-gpio"
9 - reg-names: must contain
11 - reg: address + size pairs describing the GPIO register sets;
12 order must correspond with the order of entries in reg-names
13 - #gpio-cells: must be set to 2. The first cell is the pin number and
14 the second cell is used to specify the gpio polarity:
17 - gpio-controller: Marks the device node as a gpio controller.
20 - no-output: GPIOs are read-only.
23 gpio0: gpio0@e0000000 {
24 compatible = "wd,mbl-gpio";
26 reg = <0xe0000000 0x1>;
31 gpio1: gpio1@e0100000 {
32 compatible = "wd,mbl-gpio";
34 reg = <0xe0100000 0x1>;