mirror of
https://github.com/smaeul/u-boot.git
synced 2025-09-12 13:06:04 +01:00
Now that the sunxi_gpio driver handles pull-up/down via the driver model, we can switch to DM_GPIO for these pins with no loss in functionality. Since the driver now gets its pin configuration from the device tree, we can remove the Kconfig symbols. Signed-off-by: Samuel Holland <samuel@sholland.org>
35 lines
563 B
Plaintext
35 lines
563 B
Plaintext
// SPDX-License-Identifier: GPL-2.0+ OR X11
|
|
/*
|
|
* Copyright 2015 Hans de Goede <hdegoede@redhat.com>
|
|
*
|
|
* Minimal dts file for the Ampe A76 for u-boot only
|
|
*/
|
|
|
|
/dts-v1/;
|
|
#include "sun5i-a13.dtsi"
|
|
|
|
#include <dt-bindings/gpio/gpio.h>
|
|
|
|
/ {
|
|
model = "Ampe A76";
|
|
compatible = "ampe,a76", "allwinner,sun5i-a13";
|
|
|
|
aliases {
|
|
serial0 = &uart1;
|
|
};
|
|
|
|
chosen {
|
|
stdout-path = "serial0:115200n8";
|
|
};
|
|
};
|
|
|
|
&uart1 {
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&uart1_pg_pins>;
|
|
status = "okay";
|
|
};
|
|
|
|
&usbphy {
|
|
usb0_id_det-gpios = <&pio 6 2 GPIO_ACTIVE_HIGH>; /* PG2 */
|
|
};
|