Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
hierarchical_device_files [2018/12/11 13:06] – [beaglebone.conf] rpjdayhierarchical_device_files [2018/12/11 13:08] (current) – [am335x-boneblack.dts] rpjday
Line 13: Line 13:
 KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT}" KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT}"
 ... ...
 +</code>
 +
 +===== The .dts files =====
 +
 +==== am335x-boneblack.dts ====
 +
 +<code>
 +#include "am33xx.dtsi"
 +#include "am335x-bone-common.dtsi"
 +#include "am335x-boneblack-common.dtsi"
 +
 +/ {
 +        model = "TI AM335x BeagleBone Black";
 +        compatible = "ti,am335x-bone-black", "ti,am335x-bone", "ti,am33xx";
 +};
 +
 +&cpu0_opp_table {
 +        /*
 +         * All PG 2.0 silicon may not support 1GHz but some of the early
 +         * BeagleBone Blacks have PG 2.0 silicon which is guaranteed
 +         * to support 1GHz OPP so enable it for PG 2.0 on this board.
 +         */
 +        oppnitro-1000000000 {
 +                opp-supported-hw = <0x06 0x0100>;
 +        };
 +};
 +
 +</code>
 +
 +==== am335x-bonegreen.dts ====
 +
 +<code>
 +#include "am33xx.dtsi"
 +#include "am335x-bone-common.dtsi"
 +#include "am335x-bonegreen-common.dtsi"
 +
 +/ {
 +        model = "TI AM335x BeagleBone Green";
 +        compatible = "ti,am335x-bone-green", "ti,am335x-bone-black", "ti,am335x-bone", "ti,am33xx";
 +};
 </code> </code>
  • hierarchical_device_files.1544533565.txt.gz
  • Last modified: 2018/12/11 13:06
  • by rpjday