Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/arm/dts Add (non-standard) fb node for meson8b



details:   https://anonhg.NetBSD.org/src/rev/3f13dc80ceea
branches:  trunk
changeset: 448054:3f13dc80ceea
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Sat Jan 19 21:44:02 2019 +0000

description:
Add (non-standard) fb node for meson8b

diffstat:

 sys/arch/arm/dts/meson8b-odroidc1.dts |   6 +++++-
 sys/arch/arm/dts/meson8b.dtsi         |  10 +++++++++-
 2 files changed, 14 insertions(+), 2 deletions(-)

diffs (39 lines):

diff -r 74fe74700eac -r 3f13dc80ceea sys/arch/arm/dts/meson8b-odroidc1.dts
--- a/sys/arch/arm/dts/meson8b-odroidc1.dts     Sat Jan 19 21:43:43 2019 +0000
+++ b/sys/arch/arm/dts/meson8b-odroidc1.dts     Sat Jan 19 21:44:02 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: meson8b-odroidc1.dts,v 1.1 2019/01/19 20:56:03 jmcneill Exp $ */
+/* $NetBSD: meson8b-odroidc1.dts,v 1.2 2019/01/19 21:44:02 jmcneill Exp $ */
 
 /*-
  * Copyright (c) 2019 Jared McNeill <jmcneill%invisible.ca@localhost>
@@ -28,3 +28,7 @@
 
 #include_next "meson8b-odroidc1.dts"
 #include "meson8b.dtsi"
+
+&genfb {
+       status = "okay";
+};
diff -r 74fe74700eac -r 3f13dc80ceea sys/arch/arm/dts/meson8b.dtsi
--- a/sys/arch/arm/dts/meson8b.dtsi     Sat Jan 19 21:43:43 2019 +0000
+++ b/sys/arch/arm/dts/meson8b.dtsi     Sat Jan 19 21:44:02 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: meson8b.dtsi,v 1.1 2019/01/19 20:56:03 jmcneill Exp $ */
+/* $NetBSD: meson8b.dtsi,v 1.2 2019/01/19 21:44:02 jmcneill Exp $ */
 
 /*-
  * Copyright (c) 2019 Jared McNeill <jmcneill%invisible.ca@localhost>
@@ -35,4 +35,12 @@
                interrupts = <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_EDGE_RISING)>;
                clocks = <&clkc CLKID_PERIPH>;
        };
+
+       genfb: fb@c8006000 {
+               compatible = "amlogic,meson8b-fb";
+               reg = <0xc8006000 0x400>,       /* DMC */
+                     <0xd0040000 0x10000>,     /* HDMI */
+                     <0xd0100000 0x100000>;    /* VPU */
+               status = "disabled";
+       };
 };



Home | Main Index | Thread Index | Old Index