aboutsummaryrefslogtreecommitdiff
path: root/src/arm/sun5i-a13-hsg-h702.dts
diff options
context:
space:
mode:
authorEmmanuel Vadot <manu@FreeBSD.org>2019-04-10 17:56:06 +0000
committerEmmanuel Vadot <manu@FreeBSD.org>2019-04-10 17:56:06 +0000
commit2131505c51f1ac8ac0a6db71efcda1b4bd61084b (patch)
tree4f250a77fb54e1fe3c583af2f136645afa39a986 /src/arm/sun5i-a13-hsg-h702.dts
parenta31d1ff13cd8d70944a6446c0e2478d7f25b53e7 (diff)
downloadsrc-2131505c51f1ac8ac0a6db71efcda1b4bd61084b.tar.gz
src-2131505c51f1ac8ac0a6db71efcda1b4bd61084b.zip
Import DTS files from Linux 5.0vendor/device-tree/5.0
Notes
Notes: svn path=/vendor/device-tree/dist/; revision=346089 svn path=/vendor/device-tree/5.0/; revision=346090; tag=vendor/device-tree/5.0
Diffstat (limited to 'src/arm/sun5i-a13-hsg-h702.dts')
-rw-r--r--src/arm/sun5i-a13-hsg-h702.dts29
1 files changed, 5 insertions, 24 deletions
diff --git a/src/arm/sun5i-a13-hsg-h702.dts b/src/arm/sun5i-a13-hsg-h702.dts
index 7ee0c3f6d7a1..9369f7453beb 100644
--- a/src/arm/sun5i-a13-hsg-h702.dts
+++ b/src/arm/sun5i-a13-hsg-h702.dts
@@ -69,8 +69,6 @@
};
&i2c0 {
- pinctrl-names = "default";
- pinctrl-0 = <&i2c0_pins_a>;
status = "okay";
axp209: pmic@34 {
@@ -80,8 +78,6 @@
};
&i2c1 {
- pinctrl-names = "default";
- pinctrl-0 = <&i2c1_pins_a>;
status = "okay";
pcf8563: rtc@51 {
@@ -91,8 +87,6 @@
};
&i2c2 {
- pinctrl-names = "default";
- pinctrl-0 = <&i2c2_pins_a>;
status = "okay";
};
@@ -100,14 +94,14 @@
vref-supply = <&reg_ldo2>;
status = "okay";
- button@200 {
+ button-200 {
label = "Volume Up";
linux,code = <KEY_VOLUMEUP>;
channel = <0>;
voltage = <200000>;
};
- button@400 {
+ button-400 {
label = "Volume Down";
linux,code = <KEY_VOLUMEDOWN>;
channel = <0>;
@@ -116,8 +110,6 @@
};
&mmc0 {
- pinctrl-names = "default";
- pinctrl-0 = <&mmc0_pins_a>, <&mmc0_cd_pin_h702>;
vmmc-supply = <&reg_vcc3v3>;
bus-width = <4>;
cd-gpios = <&pio 6 0 GPIO_ACTIVE_LOW>; /* PG0 */
@@ -133,22 +125,11 @@
};
&pio {
- mmc0_cd_pin_h702: mmc0_cd_pin@0 {
- pins = "PG0";
- function = "gpio_in";
- bias-pull-up;
- };
-
- usb0_id_detect_pin: usb0_id_detect_pin@0 {
+ usb0_id_detect_pin: usb0-id-detect-pin {
pins = "PG2";
function = "gpio_in";
bias-pull-up;
};
-
- usb0_vbus_detect_pin: usb0_vbus_detect_pin@0 {
- pins = "PG1";
- function = "gpio_in";
- };
};
#include "axp209.dtsi"
@@ -191,7 +172,7 @@
&uart1 {
pinctrl-names = "default";
- pinctrl-0 = <&uart1_pins_b>;
+ pinctrl-0 = <&uart1_pg_pins>;
status = "okay";
};
@@ -202,7 +183,7 @@
&usbphy {
pinctrl-names = "default";
- pinctrl-0 = <&usb0_id_detect_pin>, <&usb0_vbus_detect_pin>;
+ pinctrl-0 = <&usb0_id_detect_pin>;
usb0_id_det-gpios = <&pio 6 2 GPIO_ACTIVE_HIGH>; /* PG2 */
usb0_vbus_det-gpios = <&pio 6 1 GPIO_ACTIVE_HIGH>; /* PG1 */
usb0_vbus-supply = <&reg_usb0_vbus>;