ath79: ar724x: fix pll settings
Add the syscon compatible, otherwise used functions like syscon_regmap_lookup_by_phandle() will return an error and setting the ethernet pll data wont work at all. Fix the pll register width. Writing to registers out of the range via syscon isn't possible and returns an error. On ar7242 the last pll register - Current Audio Modulation Logic Output - is at 0x1805003c. Signed-off-by: Mathias Kresin <dev@kresin.me>
This commit is contained in:
parent
f7ec385c13
commit
bc04cf780e
1 changed files with 2 additions and 3 deletions
|
@ -65,9 +65,8 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
pll: pll-controller@18050000 {
|
pll: pll-controller@18050000 {
|
||||||
compatible = "qca,ar7240-pll",
|
compatible = "qca,ar7240-pll", "syscon";
|
||||||
"qca,ar7240-pll";
|
reg = <0x18050000 0x3c>;
|
||||||
reg = <0x18050000 0x20>;
|
|
||||||
|
|
||||||
clock-names = "ref";
|
clock-names = "ref";
|
||||||
/* The board must provides the ref clock */
|
/* The board must provides the ref clock */
|
||||||
|
|
Loading…
Reference in a new issue