Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Aug 2018 13:36:30 +0930
From:      "O'Connor, Daniel" <darius@dons.net.au>
To:        "Dr. Rolf Jansen" <rj@obsigna.com>
Cc:        freebsd-arm <freebsd-arm@freebsd.org>
Subject:   Re: Beaglebone Black pinmuxing
Message-ID:  <72D8FE35-EE57-4E40-A604-4DF9DC8FEE05@dons.net.au>
In-Reply-To: <3B199FD0-479D-49C5-8E6F-DDE3D447EB03@dons.net.au>
References:  <13360A40-3381-4AF9-8EC5-C8E9B00CCABD@dons.net.au> <56756FA3-8FD7-44A4-A2D8-054E7C86744B@obsigna.com> <3B199FD0-479D-49C5-8E6F-DDE3D447EB03@dons.net.au>

next in thread | previous in thread | raw e-mail | index | archive | help


> On 17 Aug 2018, at 11:16, O'Connor, Daniel <darius@dons.net.au> wrote:
> OK, I'll go back to trying an overlay once I get it working by editing =
am335x-boneblack.dts

So, I got it working (without an overlay as yet) with this diff..

--- am335x-boneblack-orig.dts   2018-08-11 12:27:38.000000000 +0000
+++ am335x-boneblack.dts        2018-08-12 10:10:24.000000000 +0000
@@ -785,6 +785,13 @@
                                                pinctrl-single,pins =3D =
<0x170 0x30 0x174 0x0>;
                                                phandle =3D <0x4f>;
                                        };
+                                       pinmux_uart4_pins {
+                                               pinctrl-single,pins =3D =
<
+                                        0x070 0x2e      // P9_11 =
gpmc_wait0.uart4_rxd_mux2 -> mode 6
+                                        0x074 0x06      // P9_13 =
gpmc_wpn.uart4_txd_mux2 -> mode 6
+                                               >;
+                                               phandle =3D <0xce>;
+                                       };
                                        pinmux_clkout2_pin {

                                                pinctrl-single,pins =3D =
<0x1b4 0x3>;
@@ -1153,8 +1160,10 @@
                        clock-frequency =3D <0x2dc6c00>;
                        reg =3D <0x481a8000 0x2000>;
                        interrupts =3D <0x2d>;
-                       status =3D "disabled";
+                       status =3D "okay";
                        phandle =3D <0x7a>;
+                       pinctrl-names =3D "default";
+                       pinctrl-0 =3D <0xce>;
                };
                serial@481aa000 {

@@ -2189,6 +2198,7 @@
                hdmi_0 =3D =
"/ocp/i2c@44e0b000/tda19988/ports/port@0/endpoint@0";
                gpio1 =3D "/ocp/gpio@4804c000";
                uart0_pins =3D =
"/ocp/l4_wkup@44c00000/scm@210000/pinmux@800/pinmux_uart0_pins";
+               uart4_pins =3D =
"/ocp/l4_wkup@44c00000/scm@210000/pinmux@800/pinmux_uart4_pins";
                i2c2_pins =3D =
"/ocp/l4_wkup@44c00000/scm@210000/pinmux@800/pinmux_i2c2_pins";
                pm_sram_data =3D =
"/ocp/ocmcram@40300000/pm-sram-data@1000";
                sha0_fck =3D =
"/ocp/l4_wkup@44c00000/scm@210000/scm_conf@0/clocks/sha0_fck";

Next step is to make an overlay version - hopefully I can look at that =
tonight :)

--
Daniel O'Connor
"The nice thing about standards is that there
are so many of them to choose from."
 -- Andrew Tanenbaum





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?72D8FE35-EE57-4E40-A604-4DF9DC8FEE05>