1724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0 2724ba675SRob Herring/* 3724ba675SRob Herring * Keystone 2 Edison SoC specific device tree 4724ba675SRob Herring * 5*11621bedSNishanth Menon * Copyright (C) 2014-2017 Texas Instruments Incorporated - https://www.ti.com/ 6724ba675SRob Herring */ 7724ba675SRob Herring 8724ba675SRob Herringclocks { 9724ba675SRob Herring mainpllclk: mainpllclk@2310110 { 10724ba675SRob Herring #clock-cells = <0>; 11724ba675SRob Herring compatible = "ti,keystone,main-pll-clock"; 12724ba675SRob Herring clocks = <&refclksys>; 13724ba675SRob Herring reg = <0x02620350 4>, <0x02310110 4>, <0x02310108 4>; 14724ba675SRob Herring reg-names = "control", "multiplier", "post-divider"; 15724ba675SRob Herring }; 16724ba675SRob Herring 17724ba675SRob Herring papllclk: papllclk@2620358 { 18724ba675SRob Herring #clock-cells = <0>; 19724ba675SRob Herring compatible = "ti,keystone,pll-clock"; 20724ba675SRob Herring clocks = <&refclkpass>; 21724ba675SRob Herring clock-output-names = "papllclk"; 22724ba675SRob Herring reg = <0x02620358 4>; 23724ba675SRob Herring reg-names = "control"; 24724ba675SRob Herring }; 25724ba675SRob Herring 26724ba675SRob Herring ddr3apllclk: ddr3apllclk@2620360 { 27724ba675SRob Herring #clock-cells = <0>; 28724ba675SRob Herring compatible = "ti,keystone,pll-clock"; 29724ba675SRob Herring clocks = <&refclkddr3a>; 30724ba675SRob Herring clock-output-names = "ddr-3a-pll-clk"; 31724ba675SRob Herring reg = <0x02620360 4>; 32724ba675SRob Herring reg-names = "control"; 33724ba675SRob Herring }; 34724ba675SRob Herring 35724ba675SRob Herring clkusb1: clkusb1@2350004 { 36724ba675SRob Herring #clock-cells = <0>; 37724ba675SRob Herring compatible = "ti,keystone,psc-clock"; 38724ba675SRob Herring clocks = <&chipclk16>; 39724ba675SRob Herring clock-output-names = "usb1"; 40724ba675SRob Herring reg = <0x02350004 0xb00>, <0x02350000 0x400>; 41724ba675SRob Herring reg-names = "control", "domain"; 42724ba675SRob Herring domain-id = <0>; 43724ba675SRob Herring }; 44724ba675SRob Herring 45724ba675SRob Herring clkhyperlink0: clkhyperlink0@2350030 { 46724ba675SRob Herring #clock-cells = <0>; 47724ba675SRob Herring compatible = "ti,keystone,psc-clock"; 48724ba675SRob Herring clocks = <&chipclk12>; 49724ba675SRob Herring clock-output-names = "hyperlink-0"; 50724ba675SRob Herring reg = <0x02350030 0xb00>, <0x02350014 0x400>; 51724ba675SRob Herring reg-names = "control", "domain"; 52724ba675SRob Herring domain-id = <5>; 53724ba675SRob Herring }; 54724ba675SRob Herring 55724ba675SRob Herring clkpcie1: clkpcie1@235006c { 56724ba675SRob Herring #clock-cells = <0>; 57724ba675SRob Herring compatible = "ti,keystone,psc-clock"; 58724ba675SRob Herring clocks = <&chipclk12>; 59724ba675SRob Herring clock-output-names = "pcie1"; 60724ba675SRob Herring reg = <0x0235006c 0xb00>, <0x02350048 0x400>; 61724ba675SRob Herring reg-names = "control", "domain"; 62724ba675SRob Herring domain-id = <18>; 63724ba675SRob Herring }; 64724ba675SRob Herring 65724ba675SRob Herring clkxge: clkxge@23500c8 { 66724ba675SRob Herring #clock-cells = <0>; 67724ba675SRob Herring compatible = "ti,keystone,psc-clock"; 68724ba675SRob Herring clocks = <&chipclk13>; 69724ba675SRob Herring clock-output-names = "xge"; 70724ba675SRob Herring reg = <0x023500c8 0xb00>, <0x02350074 0x400>; 71724ba675SRob Herring reg-names = "control", "domain"; 72724ba675SRob Herring domain-id = <29>; 73724ba675SRob Herring }; 74724ba675SRob Herring 75724ba675SRob Herring /* 76724ba675SRob Herring * Below are set of fixed, input clocks definitions, 77724ba675SRob Herring * for which real frequencies have to be defined in board files. 78724ba675SRob Herring * Those clocks can be used as reference clocks for some HW modules 79724ba675SRob Herring * (as cpts, for example) by configuring corresponding clock muxes. 80724ba675SRob Herring */ 81724ba675SRob Herring tsipclka: tsipclka { 82724ba675SRob Herring #clock-cells = <0>; 83724ba675SRob Herring compatible = "fixed-clock"; 84724ba675SRob Herring clock-frequency = <0>; 85724ba675SRob Herring clock-output-names = "tsipclka"; 86724ba675SRob Herring }; 87724ba675SRob Herring 88724ba675SRob Herring tsipclkb: tsipclkb { 89724ba675SRob Herring #clock-cells = <0>; 90724ba675SRob Herring compatible = "fixed-clock"; 91724ba675SRob Herring clock-frequency = <0>; 92724ba675SRob Herring clock-output-names = "tsipclkb"; 93724ba675SRob Herring }; 94724ba675SRob Herring}; 95