Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F148801470
D5718.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
2 KB
Referenced Files
None
Subscribers
None
D5718.id.diff
View Options
Index: sys/boot/fdt/dts/arm/bananapi.dts
===================================================================
--- sys/boot/fdt/dts/arm/bananapi.dts
+++ sys/boot/fdt/dts/arm/bananapi.dts
@@ -1,5 +1,5 @@
/*-
- * Copyright (c) 2013 Ganbold Tsagaankhuu <ganbold@freebsd.org>
+ * Copyright (c) 2016 Emmanuel Vadot <manu@bidouilliste.com>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -22,56 +22,27 @@
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
- *
+ *
* $FreeBSD$
*/
-/dts-v1/;
-
-#include "sun7i-a20.dtsi"
-
-#include <dt-bindings/gpio/gpio.h>
+#include "sun7i-a20-bananapi.dts"
+#include "sun7i-a20-hdmi.dtsi"
/ {
- model = "LeMaker Banana Pi";
- compatible = "lemaker,bananapi", "allwinner,sun7i-a20";
-
- memory {
- device_type = "memory";
- reg = < 0x40000000 0x40000000 >; /* 1GB RAM */
- };
-
- aliases {
- soc = &SOC;
- UART0 = &UART0;
- };
-
- SOC: a20 {
-
- usb1: usb@01c14000 {
- status = "okay";
+ soc@01c00000 {
+ ccm@01c20000 {
+ compatible = "allwinner,sun4i-ccm";
+ #address-cells = <1>;
+ #size-cells = <1>;
+ reg = < 0x01c20000 0x400 >;
};
- usb2: usb@01c1c000 {
+ hdmi@01c16000 {
status = "okay";
};
- UART0: serial@01c28000 {
- status = "okay";
- };
-
- mmc0: mmc@01c0f000 {
- status = "okay";
- };
-
- gmac@01c50000 {
- phy-mode = "rgmii-bpi";
- status = "okay";
- pinctrl-names = "default";
- pinctrl-0 = <&gmac_pins_rgmii>;
- };
-
- ahci: sata@01c18000 {
+ hdmiaudio {
status = "okay";
};
@@ -90,19 +61,24 @@
<0x01c0c000 0x1000>; /* LCD0 */
};
};
+};
+
+&mmc0_pins_a {
+ allwinner,pull = <SUN4I_PINCTRL_PULL_UP>;
+};
- leds {
- compatible = "gpio-leds";
+&uart3 {
+ status = "disabled";
+};
- green {
- label = "bananapi:green:usr";
- gpios = <&pio 7 24 GPIO_ACTIVE_HIGH>;
- };
- };
+&uart7 {
+ status = "disabled";
+};
- chosen {
- bootargs = "-v";
- stdin = "UART0";
- stdout = "UART0";
- };
+&i2c2 {
+ status = "disabled";
};
+
+&gmac {
+ phy-mode = "rgmii-bpi";
+};
\ No newline at end of file
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Mar 21, 7:10 AM (6 h, 36 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
30045791
Default Alt Text
D5718.id.diff (2 KB)
Attached To
Mode
D5718: Update BananaPi dts to upstream
Attached
Detach File
Event Timeline
Log In to Comment