version 1.1.1.3, 2017/11/30 19:40:51 |
version 1.1.1.3.4.2, 2018/07/28 04:38:03 |
|
|
stdout-path = "serial0:115200n8"; |
stdout-path = "serial0:115200n8"; |
}; |
}; |
|
|
|
leds { |
|
compatible = "gpio-leds"; |
|
|
|
pwr-led { |
|
label = "bananapi-m64:red:pwr"; |
|
gpios = <&pio 3 24 GPIO_ACTIVE_HIGH>; /* PD24 */ |
|
default-state = "on"; |
|
}; |
|
|
|
green { |
|
label = "bananapi-m64:green:user"; |
|
gpios = <&pio 4 14 GPIO_ACTIVE_HIGH>; /* PE14 */ |
|
}; |
|
|
|
blue { |
|
label = "bananapi-m64:blue:user"; |
|
gpios = <&pio 4 15 GPIO_ACTIVE_HIGH>; /* PE15 */ |
|
}; |
|
}; |
|
|
wifi_pwrseq: wifi_pwrseq { |
wifi_pwrseq: wifi_pwrseq { |
compatible = "mmc-pwrseq-simple"; |
compatible = "mmc-pwrseq-simple"; |
reset-gpios = <&r_pio 0 2 GPIO_ACTIVE_LOW>; /* PL2 */ |
reset-gpios = <&r_pio 0 2 GPIO_ACTIVE_LOW>; /* PL2 */ |
}; |
}; |
}; |
}; |
|
|
|
&ehci0 { |
|
status = "okay"; |
|
}; |
|
|
&ehci1 { |
&ehci1 { |
status = "okay"; |
status = "okay"; |
}; |
}; |
|
|
pinctrl-0 = <&rgmii_pins>; |
pinctrl-0 = <&rgmii_pins>; |
phy-mode = "rgmii"; |
phy-mode = "rgmii"; |
phy-handle = <&ext_rgmii_phy>; |
phy-handle = <&ext_rgmii_phy>; |
|
phy-supply = <®_dc1sw>; |
status = "okay"; |
status = "okay"; |
}; |
}; |
|
|
|
|
pinctrl-names = "default"; |
pinctrl-names = "default"; |
pinctrl-0 = <&mmc0_pins>; |
pinctrl-0 = <&mmc0_pins>; |
vmmc-supply = <®_dcdc1>; |
vmmc-supply = <®_dcdc1>; |
cd-gpios = <&pio 5 6 GPIO_ACTIVE_HIGH>; |
cd-gpios = <&pio 5 6 GPIO_ACTIVE_LOW>; |
cd-inverted; |
|
disable-wp; |
disable-wp; |
bus-width = <4>; |
bus-width = <4>; |
status = "okay"; |
status = "okay"; |
|
|
status = "okay"; |
status = "okay"; |
}; |
}; |
|
|
|
&ohci0 { |
|
status = "okay"; |
|
}; |
|
|
&ohci1 { |
&ohci1 { |
status = "okay"; |
status = "okay"; |
}; |
}; |
|
|
reg = <0x3a3>; |
reg = <0x3a3>; |
interrupt-parent = <&r_intc>; |
interrupt-parent = <&r_intc>; |
interrupts = <0 IRQ_TYPE_LEVEL_LOW>; |
interrupts = <0 IRQ_TYPE_LEVEL_LOW>; |
|
x-powers,drive-vbus-en; /* set N_VBUSEN as output pin */ |
}; |
}; |
}; |
}; |
|
|
#include "axp803.dtsi" |
#include "axp803.dtsi" |
|
|
|
®_aldo1 { |
|
/* |
|
* This regulator also drives the PE pingroup GPIOs, |
|
* which also controls two LEDs. |
|
*/ |
|
regulator-always-on; |
|
regulator-min-microvolt = <2800000>; |
|
regulator-max-microvolt = <2800000>; |
|
regulator-name = "afvcc-csi"; |
|
}; |
|
|
®_aldo2 { |
®_aldo2 { |
regulator-always-on; |
regulator-always-on; |
regulator-min-microvolt = <1800000>; |
regulator-min-microvolt = <1800000>; |
|
|
}; |
}; |
|
|
®_dc1sw { |
®_dc1sw { |
|
/* |
|
* This regulator also indirectly drives the PD pingroup GPIOs, |
|
* which also controls the power LED. |
|
*/ |
|
regulator-always-on; |
regulator-name = "vcc-phy"; |
regulator-name = "vcc-phy"; |
}; |
}; |
|
|
|
|
regulator-name = "vcc-wifi-io"; |
regulator-name = "vcc-wifi-io"; |
}; |
}; |
|
|
|
®_drivevbus { |
|
regulator-name = "usb0-vbus"; |
|
status = "okay"; |
|
}; |
|
|
®_eldo1 { |
®_eldo1 { |
regulator-min-microvolt = <1800000>; |
regulator-min-microvolt = <1800000>; |
regulator-max-microvolt = <1800000>; |
regulator-max-microvolt = <1800000>; |
|
|
status = "okay"; |
status = "okay"; |
}; |
}; |
|
|
|
&usb_otg { |
|
dr_mode = "otg"; |
|
status = "okay"; |
|
}; |
|
|
&usbphy { |
&usbphy { |
|
usb0_id_det-gpios = <&pio 7 9 GPIO_ACTIVE_HIGH>; /* PH9 */ |
|
usb0_vbus-supply = <®_drivevbus>; |
status = "okay"; |
status = "okay"; |
}; |
}; |