| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * sama5d3xmb.dts - Device Tree file for SAMA5D3x mother board |
|---|
| 3 | 4 | * |
|---|
| 4 | 5 | * Copyright (C) 2013 Atmel, |
|---|
| 5 | 6 | * 2013 Ludovic Desroches <ludovic.desroches@atmel.com> |
|---|
| 6 | | - * |
|---|
| 7 | | - * Licensed under GPLv2 or later. |
|---|
| 8 | 7 | */ |
|---|
| 9 | 8 | #include "sama5d3xcm.dtsi" |
|---|
| 10 | 9 | |
|---|
| .. | .. |
|---|
| 47 | 46 | wm8904: wm8904@1a { |
|---|
| 48 | 47 | compatible = "wlf,wm8904"; |
|---|
| 49 | 48 | reg = <0x1a>; |
|---|
| 50 | | - clocks = <&pck0>; |
|---|
| 49 | + clocks = <&pmc PMC_TYPE_SYSTEM 8>; |
|---|
| 51 | 50 | clock-names = "mclk"; |
|---|
| 52 | 51 | }; |
|---|
| 53 | 52 | }; |
|---|
| .. | .. |
|---|
| 61 | 60 | resetb-gpios = <&pioE 24 GPIO_ACTIVE_LOW>; |
|---|
| 62 | 61 | pwdn-gpios = <&pioE 29 GPIO_ACTIVE_HIGH>; |
|---|
| 63 | 62 | /* use pck1 for the master clock of ov2640 */ |
|---|
| 64 | | - clocks = <&pck1>; |
|---|
| 63 | + clocks = <&pmc PMC_TYPE_SYSTEM 9>; |
|---|
| 65 | 64 | clock-names = "xvclk"; |
|---|
| 66 | | - assigned-clocks = <&pck1>; |
|---|
| 65 | + assigned-clocks = <&pmc PMC_TYPE_SYSTEM 9>; |
|---|
| 67 | 66 | assigned-clock-rates = <25000000>; |
|---|
| 68 | 67 | |
|---|
| 69 | 68 | port { |
|---|