Added device tree overlay on gpio page
Added wiring diagram for button
This commit is contained in:
parent
277dbb73b3
commit
3e6e742569
5 changed files with 269 additions and 0 deletions
14
docs/files/dt-overlay/compile-dtb-lk-4.14.patch
Normal file
14
docs/files/dt-overlay/compile-dtb-lk-4.14.patch
Normal file
|
@ -0,0 +1,14 @@
|
|||
diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib
|
||||
index aac94d96..d22bb79d 100644
|
||||
--- a/scripts/Makefile.lib
|
||||
+++ b/scripts/Makefile.lib
|
||||
@@ -270,6 +270,9 @@ cmd_gzip = (cat $(filter-out FORCE,$^) | gzip -n -f -9 > $@) || \
|
||||
# ---------------------------------------------------------------------------
|
||||
DTC ?= $(objtree)/scripts/dtc/dtc
|
||||
|
||||
+# Enable overlay support
|
||||
+DTC_FLAGS += -@
|
||||
+
|
||||
# Disable noisy checks by default
|
||||
ifeq ($(KBUILD_ENABLE_EXTRA_GCC_CHECKS),)
|
||||
DTC_FLAGS += -Wno-unit_address_vs_reg \
|
14
docs/files/dt-overlay/compile-dtb-lk-4.19.patch
Normal file
14
docs/files/dt-overlay/compile-dtb-lk-4.19.patch
Normal file
|
@ -0,0 +1,14 @@
|
|||
diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib
|
||||
index 61e596650..fdb066e51 100644
|
||||
--- a/scripts/Makefile.lib
|
||||
+++ b/scripts/Makefile.lib
|
||||
@@ -244,6 +244,9 @@ cmd_gzip = (cat $(filter-out FORCE,$^) | gzip -n -f -9 > $@) || \
|
||||
# ---------------------------------------------------------------------------
|
||||
DTC ?= $(objtree)/scripts/dtc/dtc
|
||||
|
||||
+# Enable overlay support
|
||||
+DTC_FLAGS += -@
|
||||
+
|
||||
# Disable noisy checks by default
|
||||
ifeq ($(findstring 1,$(KBUILD_ENABLE_EXTRA_GCC_CHECKS)),)
|
||||
DTC_FLAGS += -Wno-unit_address_vs_reg \
|
BIN
docs/files/dt-overlay/dtc
Executable file
BIN
docs/files/dt-overlay/dtc
Executable file
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue