linux-mainline: Enable i2c0 in OrangePi-Plus2 device tree
Signed-off-by: Sebastian Panceac <sebastian@resin.io>
This commit is contained in:
parent
4ef59eb7e6
commit
142d193af5
3 changed files with 29 additions and 0 deletions
|
@ -1,6 +1,8 @@
|
||||||
Change log
|
Change log
|
||||||
-----------
|
-----------
|
||||||
|
|
||||||
|
* linux-mainline: Enable i2c0 in OrangePi-Plus2 device tree [Sebastian]
|
||||||
|
|
||||||
# v2.12.7+rev3
|
# v2.12.7+rev3
|
||||||
## (2018-05-23)
|
## (2018-05-23)
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,26 @@
|
||||||
|
From cef44d8fd32cf32dc3760ba2cf520467df7585d6 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Sebastian Panceac <sebastian@resin.io>
|
||||||
|
Date: Wed, 20 Jun 2018 11:15:30 +0200
|
||||||
|
Subject: [PATCH] Enable i2c0 on OrangePi Plus2 board
|
||||||
|
|
||||||
|
Upstream-Status: Inappropriate [configuration]
|
||||||
|
Signed-off-by: Sebastian Panceac <sebastian@resin.io>
|
||||||
|
---
|
||||||
|
arch/arm/boot/dts/sun8i-h3-orangepi-plus.dts | 4 ++++
|
||||||
|
1 file changed, 4 insertions(+)
|
||||||
|
|
||||||
|
diff --git a/arch/arm/boot/dts/sun8i-h3-orangepi-plus.dts b/arch/arm/boot/dts/sun8i-h3-orangepi-plus.dts
|
||||||
|
index b403e5d..781b6c4 100644
|
||||||
|
--- a/arch/arm/boot/dts/sun8i-h3-orangepi-plus.dts
|
||||||
|
+++ b/arch/arm/boot/dts/sun8i-h3-orangepi-plus.dts
|
||||||
|
@@ -122,3 +122,7 @@
|
||||||
|
&usbphy {
|
||||||
|
usb3_vbus-supply = <®_usb3_vbus>;
|
||||||
|
};
|
||||||
|
+
|
||||||
|
+&i2c0 {
|
||||||
|
+ status = "okay";
|
||||||
|
+};
|
||||||
|
--
|
||||||
|
2.7.4
|
||||||
|
|
|
@ -22,4 +22,5 @@ SRC_URI[md5sum] = "2c7a9404ddf29580f14c61eb87e50c6e"
|
||||||
SRC_URI = "https://cdn.kernel.org/pub/linux/kernel/v4.x/linux-${PV}.tar.xz \
|
SRC_URI = "https://cdn.kernel.org/pub/linux/kernel/v4.x/linux-${PV}.tar.xz \
|
||||||
file://defconfig \
|
file://defconfig \
|
||||||
file://don-t-default-activate-regdb.patch \
|
file://don-t-default-activate-regdb.patch \
|
||||||
|
file://0001-Enable-i2c0-on-OrangePi-Plus2-board.patch \
|
||||||
"
|
"
|
||||||
|
|
Loading…
Add table
Reference in a new issue