[PATCH 2/2] arm64: dts: allwinner: h618: add BananaPi M4 Berry board
Krzysztof Kozlowski
krzysztof.kozlowski at linaro.org
Sun Dec 17 23:21:36 PST 2023
On 18/12/2023 00:24, Andre Przywara wrote:
> + gpio-keys {
> + compatible = "gpio-keys";
> +
> + key-sw4 {
> + label = "sw3";
> + linux,code = <BTN_0>;
> + gpios = <&pio 2 7 GPIO_ACTIVE_LOW>; /* PC7 */
> + };
> + };
> +
> + reg_vcc5v: vcc5v {
regulator prefix to the node name (others have it).
> + /* board wide 5V supply directly from the USB-C socket */
> + compatible = "regulator-fixed";
> + regulator-name = "vcc-5v";
> + regulator-min-microvolt = <5000000>;
> + regulator-max-microvolt = <5000000>;
> + regulator-always-on;
> + };
> +
> + reg_usb_vbus: regulator-usb-vbus {
> + /* separate discrete regulator for the USB ports */
> + compatible = "regulator-fixed";
> + regulator-name = "usb-vbus";
> + regulator-min-microvolt = <5000000>;
> + regulator-max-microvolt = <5000000>;
> + vin-supply = <®_vcc5v>;
> + };
> +
> + reg_3v3: regulator-3v3 {
> + /* separate discrete regulator for WiFi and Ethernet PHY */
> + compatible = "regulator-fixed";
> + regulator-name = "vcc-3v3";
> + regulator-min-microvolt = <3300000>;
> + regulator-max-microvolt = <3300000>;
> + vin-supply = <®_vcc5v>;
> + };
> +};
> +
Best regards,
Krzysztof
More information about the linux-arm-kernel
mailing list