From: Arne Fitzenreiter Date: Mon, 5 Mar 2018 10:30:33 +0000 (+0100) Subject: sunxi: dt: IPFire changes for nanopi X-Git-Tag: v5.10.76-multi~14 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a32848afe924cea6f5a7d7ce1e226b61cbe0f846;p=people%2Farne_f%2Fkernel.git sunxi: dt: IPFire changes for nanopi enable all usb change led trigger lower dma shared mem to 8MB --- diff --git a/arch/arm/boot/dts/sun8i-h3-nanopi.dtsi b/arch/arm/boot/dts/sun8i-h3-nanopi.dtsi index 4df29a65316df..e54d80a21c756 100644 --- a/arch/arm/boot/dts/sun8i-h3-nanopi.dtsi +++ b/arch/arm/boot/dts/sun8i-h3-nanopi.dtsi @@ -63,13 +63,13 @@ status { label = "nanopi:blue:status"; gpios = <&pio 0 10 GPIO_ACTIVE_HIGH>; - linux,default-trigger = "heartbeat"; + linux,default-trigger = "mmc0"; }; pwr { label = "nanopi:green:pwr"; gpios = <&r_pio 0 10 GPIO_ACTIVE_HIGH>; - default-state = "on"; + linux,default-trigger = "heartbeat"; }; }; @@ -83,6 +83,22 @@ gpios = <&r_pio 0 3 GPIO_ACTIVE_LOW>; }; }; + + // lower the cma shared mem pool from 64 to 8MB + // we use no mali + reserved-memory { + cma: linux,cma { + size = <0x800000>; + }; + }; +}; + +&ehci1 { + status = "okay"; +}; + +&ehci2 { + status = "okay"; }; &ehci3 { @@ -96,6 +112,14 @@ vmmc-supply = <®_vcc3v3>; }; +&ohci1 { + status = "okay"; +}; + +&ohci2 { + status = "okay"; +}; + &ohci3 { status = "okay"; };