summaryrefslogtreecommitdiff
path: root/target/linux/brcm2708/patches-3.18/0067-DT-Add-overrides-to-enable-i2c0-i2c1-spi-and-i2s.patch
blob: 3a679df24a80895452625a549587f24356cbaa26 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
From 95560180ed73193d916519d0c949cd4816138be3 Mon Sep 17 00:00:00 2001
From: Phil Elwell <phil@raspberrypi.org>
Date: Tue, 16 Dec 2014 10:23:48 +0000
Subject: [PATCH 067/114] DT: Add overrides to enable i2c0, i2c1, spi and i2s

---
 arch/arm/boot/dts/bcm2708-rpi-b-plus.dts | 10 ++++++++++
 arch/arm/boot/dts/bcm2708-rpi-b.dts      | 10 ++++++++++
 2 files changed, 20 insertions(+)

--- a/arch/arm/boot/dts/bcm2708-rpi-b-plus.dts
+++ b/arch/arm/boot/dts/bcm2708-rpi-b-plus.dts
@@ -79,3 +79,13 @@
 	pinctrl-names = "default";
 	pinctrl-0 = <&i2s_pins>;
 };
+
+
+/ {
+	__overrides__ {
+		    i2s = <&i2s>,"status";
+		    spi = <&spi0>,"status";
+		    i2c0 = <&i2c0>,"status";
+		    i2c1 = <&i2c1>,"status";
+	};
+};
--- a/arch/arm/boot/dts/bcm2708-rpi-b.dts
+++ b/arch/arm/boot/dts/bcm2708-rpi-b.dts
@@ -79,3 +79,13 @@
 	pinctrl-names = "default";
 	pinctrl-0 = <&i2s_pins>;
 };
+
+
+/ {
+	__overrides__ {
+		    i2s = <&i2s>,"status";
+		    spi = <&spi0>,"status";
+		    i2c0 = <&i2c0>,"status";
+		    i2c1 = <&i2c1>,"status";
+	};
+};