43c4574db1e9f7eba538e85f42cbb945c90c4e11
[librecmc/librecmc.git] /
1 From 345fd105ff676ef672d1e41b31165b47aa040dab Mon Sep 17 00:00:00 2001
2 From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <rafal@milecki.pl>
3 Date: Wed, 21 Sep 2016 22:58:32 +0200
4 Subject: [PATCH] ARM: BCM5301X: Add separated DTS include file for BCM47094
5 MIME-Version: 1.0
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
8
9 Use it to store BCM47094 specific properties/values and avoid repeating
10 them in device DTS files.
11
12 Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
13 Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
14 ---
15  arch/arm/boot/dts/bcm47094-dlink-dir-885l.dts |  3 +--
16  arch/arm/boot/dts/bcm47094-netgear-r8500.dts  |  3 +--
17  arch/arm/boot/dts/bcm47094.dtsi               | 11 +++++++++++
18  3 files changed, 13 insertions(+), 4 deletions(-)
19  create mode 100644 arch/arm/boot/dts/bcm47094.dtsi
20
21 --- a/arch/arm/boot/dts/bcm47094-dlink-dir-885l.dts
22 +++ b/arch/arm/boot/dts/bcm47094-dlink-dir-885l.dts
23 @@ -9,7 +9,7 @@
24  
25  /dts-v1/;
26  
27 -#include "bcm4708.dtsi"
28 +#include "bcm47094.dtsi"
29  #include "bcm5301x-nand-cs0-bch1.dtsi"
30  
31  / {
32 @@ -107,7 +107,6 @@
33  
34  &uart0 {
35         status = "okay";
36 -       clock-frequency = <125000000>;
37  };
38  
39  &usb3 {
40 --- a/arch/arm/boot/dts/bcm47094-netgear-r8500.dts
41 +++ b/arch/arm/boot/dts/bcm47094-netgear-r8500.dts
42 @@ -6,7 +6,7 @@
43  
44  /dts-v1/;
45  
46 -#include "bcm4708.dtsi"
47 +#include "bcm47094.dtsi"
48  #include "bcm5301x-nand-cs0-bch8.dtsi"
49  
50  / {
51 @@ -100,5 +100,4 @@
52  
53  &uart0 {
54         status = "okay";
55 -       clock-frequency = <125000000>;
56  };
57 --- /dev/null
58 +++ b/arch/arm/boot/dts/bcm47094.dtsi
59 @@ -0,0 +1,11 @@
60 +/*
61 + * Copyright (C) 2016 Rafał Miłecki <rafal@milecki.pl>
62 + *
63 + * Licensed under the ISC license.
64 + */
65 +
66 +#include "bcm4708.dtsi"
67 +
68 +&uart0 {
69 +       clock-frequency = <125000000>;
70 +};