Thank you for the feedback Charles.
I am new to the Device Tree concept and would appreciate it a lot if you
can please give me more guidance. Below is the contents of the device tree
file I used.
Basically the idea was to define the pins for the pin-mux and then enable
the pin-mux settings by using the __overlay__ scheme.
Without using the __overlay__ scheme, how would I enable the pin-mux
settings,in this device tree file for example?
/dts-v1/;
/plugin/;
/ {
compatible = "ti,beaglebone", "ti,beaglebone-black";
/* identification */
part-number = "bone_eqep2";
version = "00A0";
fragment@0 {
target = <&am33xx_pinmux>;
__overlay__ {
pinctrl_eqep2: pinctrl_eqep2_pins {
pinctrl-single,pins = <
0x0B8 0x23 /* P8_39 = GPIO2_12 = EQEP2_index,
MODE3 */
0x0BC 0x23 /* P8_40 = GPIO2_13 = EQEP2_strobe,
MODE3 */
0x0B0 0x33 /* P8_41 = GPIO2_10 = EQEP2A_in, MODE3
*/
0x0B4 0x33 /* P8_42 = GPIO2_11 = EQEP2B_in, MODE3
*/
>;
};
};
};
fragment@1 {
target = <&epwmss2>;
__overlay__ {
status = "okay";
};
};
fragment@2 {
target = <&ocp>;
__overlay__ {
test_helper: helper {
compatible = "bone-pinmux-helper";
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_eqep2>;
status = "okay";
};
};
};
};
Best Regards
Becker
On Friday, May 23, 2014 3:36:48 PM UTC+2, Charles Steinkuehler wrote:
>
> On 5/23/2014 8:28 AM, [email protected] <javascript:> wrote:
> >
> > *Question(s):*
> > Is there a way to prevent the Cape Manager to actually load cape
> firmware?
>
> If you don't have an actual cape, you must be telling capemgr to load
> the overlay for you. If you don't want capemgr to load the overlay,
> don't tell it to do so.
>
> > Is there a different way to speed up the boot time?
>
> One way is to avoid the capemgr and merge your device tree changes into
> the root device tree file loaded by u-boot.
>
> There are also many other ways to improve boot time which are unrelated
> to device tree overlays. Google a bit and you'll find lots of info.
>
> --
> Charles Steinkuehler
> [email protected] <javascript:>
>
--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.