aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/boot/dts/at91sam9263.dtsi2
-rw-r--r--arch/arm/boot/dts/sama5d3xmb.dtsi2
-rw-r--r--arch/arm/boot/dts/sama5d4.dtsi2
-rw-r--r--arch/arm/mach-at91/board-dt-sama5.c18
4 files changed, 22 insertions, 2 deletions
diff --git a/arch/arm/boot/dts/at91sam9263.dtsi b/arch/arm/boot/dts/at91sam9263.dtsi
index 8a210d5033b1..e087a93bea26 100644
--- a/arch/arm/boot/dts/at91sam9263.dtsi
+++ b/arch/arm/boot/dts/at91sam9263.dtsi
@@ -963,6 +963,8 @@
963 interrupts = <26 IRQ_TYPE_LEVEL_HIGH 3>; 963 interrupts = <26 IRQ_TYPE_LEVEL_HIGH 3>;
964 pinctrl-names = "default"; 964 pinctrl-names = "default";
965 pinctrl-0 = <&pinctrl_fb>; 965 pinctrl-0 = <&pinctrl_fb>;
966 clocks = <&lcd_clk>, <&lcd_clk>;
967 clock-names = "lcdc_clk", "hclk";
966 status = "disabled"; 968 status = "disabled";
967 }; 969 };
968 970
diff --git a/arch/arm/boot/dts/sama5d3xmb.dtsi b/arch/arm/boot/dts/sama5d3xmb.dtsi
index 9fdb8a07b145..be2ccc53abb5 100644
--- a/arch/arm/boot/dts/sama5d3xmb.dtsi
+++ b/arch/arm/boot/dts/sama5d3xmb.dtsi
@@ -208,7 +208,7 @@
208 "Headphone Jack", "HPOUTR", 208 "Headphone Jack", "HPOUTR",
209 "IN2L", "Line In Jack", 209 "IN2L", "Line In Jack",
210 "IN2R", "Line In Jack", 210 "IN2R", "Line In Jack",
211 "MICBIAS", "IN1L", 211 "Mic", "MICBIAS",
212 "IN1L", "Mic"; 212 "IN1L", "Mic";
213 213
214 atmel,ssc-controller = <&ssc0>; 214 atmel,ssc-controller = <&ssc0>;
diff --git a/arch/arm/boot/dts/sama5d4.dtsi b/arch/arm/boot/dts/sama5d4.dtsi
index 1b4fe4e19721..2a31d66164ac 100644
--- a/arch/arm/boot/dts/sama5d4.dtsi
+++ b/arch/arm/boot/dts/sama5d4.dtsi
@@ -1018,7 +1018,7 @@
1018 1018
1019 pit: timer@fc068630 { 1019 pit: timer@fc068630 {
1020 compatible = "atmel,at91sam9260-pit"; 1020 compatible = "atmel,at91sam9260-pit";
1021 reg = <0xfc068630 0xf>; 1021 reg = <0xfc068630 0x10>;
1022 interrupts = <3 IRQ_TYPE_LEVEL_HIGH 5>; 1022 interrupts = <3 IRQ_TYPE_LEVEL_HIGH 5>;
1023 clocks = <&h32ck>; 1023 clocks = <&h32ck>;
1024 }; 1024 };
diff --git a/arch/arm/mach-at91/board-dt-sama5.c b/arch/arm/mach-at91/board-dt-sama5.c
index 86cffcdef145..3ffe46c2bd4c 100644
--- a/arch/arm/mach-at91/board-dt-sama5.c
+++ b/arch/arm/mach-at91/board-dt-sama5.c
@@ -17,6 +17,7 @@
17#include <linux/of_platform.h> 17#include <linux/of_platform.h>
18#include <linux/phy.h> 18#include <linux/phy.h>
19#include <linux/clk-provider.h> 19#include <linux/clk-provider.h>
20#include <linux/phy.h>
20 21
21#include <asm/setup.h> 22#include <asm/setup.h>
22#include <asm/irq.h> 23#include <asm/irq.h>
@@ -26,8 +27,25 @@
26 27
27#include "generic.h" 28#include "generic.h"
28 29
30static int ksz8081_phy_fixup(struct phy_device *phy)
31{
32 int value;
33
34 value = phy_read(phy, 0x16);
35 value &= ~0x20;
36 phy_write(phy, 0x16, value);
37
38 return 0;
39}
40
29static void __init sama5_dt_device_init(void) 41static void __init sama5_dt_device_init(void)
30{ 42{
43 if (of_machine_is_compatible("atmel,sama5d4ek") &&
44 IS_ENABLED(CONFIG_PHYLIB)) {
45 phy_register_fixup_for_id("fc028000.etherne:00",
46 ksz8081_phy_fixup);
47 }
48
31 of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL); 49 of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL);
32 at91_sam9x5_pm_init(); 50 at91_sam9x5_pm_init();
33} 51}