Skip to content

Commit 5651764

Browse files
henrikbrixandersenkartben
authored andcommitted
dts: arm: atmel: samx7x: refactor devicetree files for the Atmel SAMx7x
Refactor the devicetree files for the Atmel SAM E70 and SAM V71 product series. These SoCs are part of a larger product family (SAM E70/S70/V70/V71) and share a common set of peripherals. Introduce a base samx7x.dtsi for all members of the family, containing the union of all supported peripherals. Specific product series can use /delete-node/ in their DTSI (e.g. same70.dtsi) for removing peripherals not present in that product series. Replace pin-count-specific DTSI files (e.g. same70q19b.dtsi) with pin-count-agnostic DTSI files (e.g. same70x19b.dtsi) as the pin-count is not taken into account in these anyways, and adjust the relevant board devicetrees accordingly. As part of this refactoring, introduce support for the missing flash memory density variants of the SAM E70 product series. Support for the two remaining product series (SAM S70/V70) is not part of this refactoring as these will require further changes to the SoC support code (soc/atmel/sam/). Signed-off-by: Henrik Brix Andersen <[email protected]>
1 parent 2423219 commit 5651764

28 files changed

+561
-632
lines changed

boards/atmel/sam/sam_e70_xplained/sam_e70_xplained_same70q21.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
/dts-v1/;
1010

11-
#include <atmel/same70q21.dtsi>
11+
#include <atmel/same70x21.dtsi>
1212
#include "sam_e70_xplained-common.dtsi"
1313

1414
/ {

boards/atmel/sam/sam_e70_xplained/sam_e70_xplained_same70q21b.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
/dts-v1/;
99

10-
#include <atmel/same70q21b.dtsi>
10+
#include <atmel/same70x21b.dtsi>
1111
#include "sam_e70_xplained-common.dtsi"
1212

1313
/ {

boards/atmel/sam/sam_v71_xult/sam_v71_xult_samv71q21.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
/dts-v1/;
1010

11-
#include <atmel/samv71q21.dtsi>
11+
#include <atmel/samv71x21.dtsi>
1212
#include "sam_v71_xult-common.dtsi"
1313

1414
/ {

boards/atmel/sam/sam_v71_xult/sam_v71_xult_samv71q21b.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
/dts-v1/;
99

10-
#include <atmel/samv71q21b.dtsi>
10+
#include <atmel/samv71x21b.dtsi>
1111
#include "sam_v71_xult-common.dtsi"
1212

1313
/ {

boards/tdk/robokit1/robokit1.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
/dts-v1/;
99

10-
#include <atmel/same70q21b.dtsi>
10+
#include <atmel/same70x21b.dtsi>
1111

1212
#include "robokit1-common.dtsi"
1313

0 commit comments

Comments
 (0)