diff options
author | Olof Johansson <olof@lixom.net> | 2018-09-25 16:48:25 -0400 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2018-09-25 16:48:25 -0400 |
commit | 47188a858a457239741bb2e9d7630fd7fad5327b (patch) | |
tree | dabad5a0d5300b153b871291ee24bcd558ccafd4 | |
parent | 200a00d85c9fab71c04b507d3ebe2edb4afa422e (diff) | |
parent | 20373e0cb8f7d540ae082a8026f5ae7c27cc6cb3 (diff) |
Merge tag 'socfpga_updates_for_v4.20_part2' of git://git.kernel.org/pub/scm/linux/kernel/git/dinguyen/linux into next/dt
SoCFPGA DTS updates for v4.20, part 2
- Fix I2C bus unit-address warning with new DTC checks
- Add reset properties for timers
* tag 'socfpga_updates_for_v4.20_part2' of git://git.kernel.org/pub/scm/linux/kernel/git/dinguyen/linux:
ARM: dts: socfpga: add timer resets for SoCFPGA platform
ARM: dts: socfpga: Fix I2C bus unit-address error
Signed-off-by: Olof Johansson <olof@lixom.net>
-rw-r--r-- | arch/arm/boot/dts/socfpga.dtsi | 8 | ||||
-rw-r--r-- | arch/arm/boot/dts/socfpga_arria10.dtsi | 8 | ||||
-rw-r--r-- | arch/arm/boot/dts/socfpga_cyclone5_de0_nano_soc.dts | 2 |
3 files changed, 17 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/socfpga.dtsi b/arch/arm/boot/dts/socfpga.dtsi index daf249e57b08..b3ff5a86efdb 100644 --- a/arch/arm/boot/dts/socfpga.dtsi +++ b/arch/arm/boot/dts/socfpga.dtsi | |||
@@ -849,6 +849,8 @@ | |||
849 | reg = <0xffc08000 0x1000>; | 849 | reg = <0xffc08000 0x1000>; |
850 | clocks = <&l4_sp_clk>; | 850 | clocks = <&l4_sp_clk>; |
851 | clock-names = "timer"; | 851 | clock-names = "timer"; |
852 | resets = <&rst SPTIMER0_RESET>; | ||
853 | reset-names = "timer"; | ||
852 | }; | 854 | }; |
853 | 855 | ||
854 | timer1: timer1@ffc09000 { | 856 | timer1: timer1@ffc09000 { |
@@ -857,6 +859,8 @@ | |||
857 | reg = <0xffc09000 0x1000>; | 859 | reg = <0xffc09000 0x1000>; |
858 | clocks = <&l4_sp_clk>; | 860 | clocks = <&l4_sp_clk>; |
859 | clock-names = "timer"; | 861 | clock-names = "timer"; |
862 | resets = <&rst SPTIMER1_RESET>; | ||
863 | reset-names = "timer"; | ||
860 | }; | 864 | }; |
861 | 865 | ||
862 | timer2: timer2@ffd00000 { | 866 | timer2: timer2@ffd00000 { |
@@ -865,6 +869,8 @@ | |||
865 | reg = <0xffd00000 0x1000>; | 869 | reg = <0xffd00000 0x1000>; |
866 | clocks = <&osc1>; | 870 | clocks = <&osc1>; |
867 | clock-names = "timer"; | 871 | clock-names = "timer"; |
872 | resets = <&rst OSC1TIMER0_RESET>; | ||
873 | reset-names = "timer"; | ||
868 | }; | 874 | }; |
869 | 875 | ||
870 | timer3: timer3@ffd01000 { | 876 | timer3: timer3@ffd01000 { |
@@ -873,6 +879,8 @@ | |||
873 | reg = <0xffd01000 0x1000>; | 879 | reg = <0xffd01000 0x1000>; |
874 | clocks = <&osc1>; | 880 | clocks = <&osc1>; |
875 | clock-names = "timer"; | 881 | clock-names = "timer"; |
882 | resets = <&rst OSC1TIMER1_RESET>; | ||
883 | reset-names = "timer"; | ||
876 | }; | 884 | }; |
877 | 885 | ||
878 | uart0: serial0@ffc02000 { | 886 | uart0: serial0@ffc02000 { |
diff --git a/arch/arm/boot/dts/socfpga_arria10.dtsi b/arch/arm/boot/dts/socfpga_arria10.dtsi index 266c67878a15..4e0c26423d84 100644 --- a/arch/arm/boot/dts/socfpga_arria10.dtsi +++ b/arch/arm/boot/dts/socfpga_arria10.dtsi | |||
@@ -786,6 +786,8 @@ | |||
786 | reg = <0xffc02700 0x100>; | 786 | reg = <0xffc02700 0x100>; |
787 | clocks = <&l4_sp_clk>; | 787 | clocks = <&l4_sp_clk>; |
788 | clock-names = "timer"; | 788 | clock-names = "timer"; |
789 | resets = <&rst SPTIMER0_RESET>; | ||
790 | reset-names = "timer"; | ||
789 | }; | 791 | }; |
790 | 792 | ||
791 | timer1: timer1@ffc02800 { | 793 | timer1: timer1@ffc02800 { |
@@ -794,6 +796,8 @@ | |||
794 | reg = <0xffc02800 0x100>; | 796 | reg = <0xffc02800 0x100>; |
795 | clocks = <&l4_sp_clk>; | 797 | clocks = <&l4_sp_clk>; |
796 | clock-names = "timer"; | 798 | clock-names = "timer"; |
799 | resets = <&rst SPTIMER1_RESET>; | ||
800 | reset-names = "timer"; | ||
797 | }; | 801 | }; |
798 | 802 | ||
799 | timer2: timer2@ffd00000 { | 803 | timer2: timer2@ffd00000 { |
@@ -802,6 +806,8 @@ | |||
802 | reg = <0xffd00000 0x100>; | 806 | reg = <0xffd00000 0x100>; |
803 | clocks = <&l4_sys_free_clk>; | 807 | clocks = <&l4_sys_free_clk>; |
804 | clock-names = "timer"; | 808 | clock-names = "timer"; |
809 | resets = <&rst L4SYSTIMER0_RESET>; | ||
810 | reset-names = "timer"; | ||
805 | }; | 811 | }; |
806 | 812 | ||
807 | timer3: timer3@ffd00100 { | 813 | timer3: timer3@ffd00100 { |
@@ -810,6 +816,8 @@ | |||
810 | reg = <0xffd01000 0x100>; | 816 | reg = <0xffd01000 0x100>; |
811 | clocks = <&l4_sys_free_clk>; | 817 | clocks = <&l4_sys_free_clk>; |
812 | clock-names = "timer"; | 818 | clock-names = "timer"; |
819 | resets = <&rst L4SYSTIMER1_RESET>; | ||
820 | reset-names = "timer"; | ||
813 | }; | 821 | }; |
814 | 822 | ||
815 | uart0: serial0@ffc02000 { | 823 | uart0: serial0@ffc02000 { |
diff --git a/arch/arm/boot/dts/socfpga_cyclone5_de0_nano_soc.dts b/arch/arm/boot/dts/socfpga_cyclone5_de0_nano_soc.dts index b280e6494193..31b01a998b2e 100644 --- a/arch/arm/boot/dts/socfpga_cyclone5_de0_nano_soc.dts +++ b/arch/arm/boot/dts/socfpga_cyclone5_de0_nano_soc.dts | |||
@@ -88,7 +88,7 @@ | |||
88 | status = "okay"; | 88 | status = "okay"; |
89 | clock-frequency = <100000>; | 89 | clock-frequency = <100000>; |
90 | 90 | ||
91 | adxl345: adxl345@0 { | 91 | adxl345: adxl345@53 { |
92 | compatible = "adi,adxl345"; | 92 | compatible = "adi,adxl345"; |
93 | reg = <0x53>; | 93 | reg = <0x53>; |
94 | 94 | ||