ARM: at91/dt: sama5d3: move wm8904 codec to i2c1
PATCH 1/2 ARM: at91/dt: sama5d3: move wm8904 codec to i2c1
Since from rev.D MB, the wm8904 is moved to i2c1.
This patch will adapt to this change.
--- arch/arm/boot/dts/sama5d3xmb.dtsi | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-)
arch/arm/boot/dts/sama5d3xmb.dtsi +1 -6
@@ -38,12 +38,7 @@ atmel,clk-from-rk-pin; }; - /* - * i2c0 conflicts with ISI: - * disable it to allow the use of ISI - * can not enable audio when i2c0 disabled - */ - i2c0: i2c at f0014000 { + i2c1: i2c at f0018000 { wm8904: wm8904 at 1a { compatible = "wm8904"; reg = <0x1a>;
Signature · 1 line
1.9.1
PATCH 2/2 ARM: at91/dt: sama5d3: enable D2 as the heartbeat LED
This D2 led is aviable for all sama5d3x-ek board. So make it as heartbeat led.
--- arch/arm/boot/dts/sama5d3xcm.dtsi | 1 + 1 file changed, 1 insertion(+)
arch/arm/boot/dts/sama5d3xcm.dtsi +1 -0
@@ -122,6 +122,7 @@ d2 { label = "d2"; gpios = <&pioE 25 GPIO_ACTIVE_LOW>; /* PE25, conflicts with A25, RXD2 */ + linux,default-trigger = "heartbeat"; }; }; };
Signature · 1 line
1.9.1
PATCH 2/2 ARM: at91/dt: sama5d3: enable D2 as the heartbeat LED
Le 09/12/2014 11:54, Josh Wu a ?crit :
Quoted 4 lines
This D2 led is aviable for all sama5d3x-ek board. So make it as heartbeat led.
Signed-off-by Josh Wu <[email protected]>
and queued on at91-3.20-dt. Thanks, bye.
Quoted 17 lines
--- arch/arm/boot/dts/sama5d3xcm.dtsi | 1 + 1 file changed, 1 insertion(+)arch/arm/boot/dts/sama5d3xcm.dtsi +1
-0@@ -122,6 +122,7 @@ d2 { label = "d2"; gpios = <&pioE 25 GPIO_ACTIVE_LOW>; /* PE25, conflicts with A25, RXD2 */ + linux,default-trigger = "heartbeat"; }; }; };
Signature · 1 line
Nicolas Ferre
PATCH 1/2 ARM: at91/dt: sama5d3: move wm8904 codec to i2c1
In reply to Josh WuLe 09/12/2014 11:54, Josh Wu a ?crit :
Quoted 2 lines
Since from rev.D MB, the wm8904 is moved to i2c1.
This patch will adapt to this change.
I'd like a more generic way of dealing with board revisions. So, let's keep it like it is for now.
Bye,
Quoted 24 lines
Signed-off-by Josh Wu <[email protected]>--- arch/arm/boot/dts/sama5d3xmb.dtsi | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-)arch/arm/boot/dts/sama5d3xmb.dtsi +1
-6@@ -38,12 +38,7 @@ atmel,clk-from-rk-pin; }; - /* - * i2c0 conflicts with ISI: - * disable it to allow the use of ISI - * can not enable audio when i2c0 disabled - */ - i2c0: i2c at f0014000 { + i2c1: i2c at f0018000 { wm8904: wm8904 at 1a { compatible = "wm8904"; reg = <0x1a>;
Signature · 1 line
Nicolas Ferre