Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Expand
    titleUse any GPIO as wake-up source, e.g. P37.2:
       gpio_keys {
            compatible = "gpio-keys";
            #address-cells = <1>;
            #size-cells = <0>;
            autorepeat;
    
            P37_2 {
                label = "GPIO Key WAKEUP";
                linux,code = <143>;
                wakeup-source;
                interrupt-parent = <&pinctrl>;
                interrupts = <RZG2L_GPIO(37, 2) IRQ_TYPE_EDGE_FALLING>;
                debounce-interval = <50>;
            };
        };
  • Expand
    titleExample of defining a GPIO with pull-down
    &pinctrl {
    test_gpio: test-gpio { gpio-hog; gpios = <RZG2L_GPIO(6, 0) (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>; input; line-name = "test_gpio"; };
    };



IRQ0-7

Linux Drivers

  • RZ/G2H, G2M, G2N, G2E:
    • CONFIG_xxx=y

...