diff options
author | John Garry <john.garry@huawei.com> | 2016-11-07 11:44:25 -0500 |
---|---|---|
committer | Wei Xu <xuwei5@hisilicon.com> | 2016-11-15 05:58:41 -0500 |
commit | 85f5bd9e771349833602ccdd39b65613ecd11fd1 (patch) | |
tree | 5b0ab18f5a4bea0004ab299c1d2746cf0aaf32dd | |
parent | 84ad1f54095b563b1d97b52de01e85cdf589830f (diff) |
arm64: dts: hisi: add refclk node to hip06 dts files for SAS
We will only maintain 1 dts for D03 and there are 50MHz
and 66MHz versions of D03: so we expect UEFI to update
refclk rate in the fdt at boot time.
Signed-off-by: John Garry <john.garry@huawei.com>
Reviewed-by: Xiang Chen <chenxiang66@hisilicon.com>
Signed-off-by: Wei Xu <xuwei5@hisilicon.com>
-rw-r--r-- | arch/arm64/boot/dts/hisilicon/hip06.dtsi | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/hisilicon/hip06.dtsi b/arch/arm64/boot/dts/hisilicon/hip06.dtsi index a05ad046cb9a..a049b64f2101 100644 --- a/arch/arm64/boot/dts/hisilicon/hip06.dtsi +++ b/arch/arm64/boot/dts/hisilicon/hip06.dtsi | |||
@@ -318,6 +318,12 @@ | |||
318 | #size-cells = <2>; | 318 | #size-cells = <2>; |
319 | ranges; | 319 | ranges; |
320 | 320 | ||
321 | refclk: refclk { | ||
322 | compatible = "fixed-clock"; | ||
323 | clock-frequency = <50000000>; | ||
324 | #clock-cells = <0>; | ||
325 | }; | ||
326 | |||
321 | usb_ohci: ohci@a7030000 { | 327 | usb_ohci: ohci@a7030000 { |
322 | compatible = "generic-ohci"; | 328 | compatible = "generic-ohci"; |
323 | reg = <0x0 0xa7030000 0x0 0x10000>; | 329 | reg = <0x0 0xa7030000 0x0 0x10000>; |
@@ -552,6 +558,7 @@ | |||
552 | ctrl-reset-reg = <0xa60>; | 558 | ctrl-reset-reg = <0xa60>; |
553 | ctrl-reset-sts-reg = <0x5a30>; | 559 | ctrl-reset-sts-reg = <0x5a30>; |
554 | ctrl-clock-ena-reg = <0x338>; | 560 | ctrl-clock-ena-reg = <0x338>; |
561 | clocks = <&refclk 0>; | ||
555 | queue-count = <16>; | 562 | queue-count = <16>; |
556 | phy-count = <8>; | 563 | phy-count = <8>; |
557 | dma-coherent; | 564 | dma-coherent; |
@@ -594,6 +601,7 @@ | |||
594 | ctrl-reset-reg = <0xa18>; | 601 | ctrl-reset-reg = <0xa18>; |
595 | ctrl-reset-sts-reg = <0x5a0c>; | 602 | ctrl-reset-sts-reg = <0x5a0c>; |
596 | ctrl-clock-ena-reg = <0x318>; | 603 | ctrl-clock-ena-reg = <0x318>; |
604 | clocks = <&refclk 0>; | ||
597 | queue-count = <16>; | 605 | queue-count = <16>; |
598 | phy-count = <8>; | 606 | phy-count = <8>; |
599 | dma-coherent; | 607 | dma-coherent; |
@@ -635,6 +643,7 @@ | |||
635 | ctrl-reset-reg = <0xae0>; | 643 | ctrl-reset-reg = <0xae0>; |
636 | ctrl-reset-sts-reg = <0x5a70>; | 644 | ctrl-reset-sts-reg = <0x5a70>; |
637 | ctrl-clock-ena-reg = <0x3a8>; | 645 | ctrl-clock-ena-reg = <0x3a8>; |
646 | clocks = <&refclk 0>; | ||
638 | queue-count = <16>; | 647 | queue-count = <16>; |
639 | phy-count = <9>; | 648 | phy-count = <9>; |
640 | dma-coherent; | 649 | dma-coherent; |