Tom Rini | 6bb92fc | 2024-05-20 09:54:58 -0600 | [diff] [blame] | 1 | // SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) |
| 2 | /* |
| 3 | * Device Tree Source for the common parts shared by the White Hawk BreakOut |
| 4 | * and White Hawk Single boards |
| 5 | * |
| 6 | * Copyright (C) 2022 Renesas Electronics Corp. |
| 7 | */ |
| 8 | |
| 9 | #include "white-hawk-csi-dsi.dtsi" |
| 10 | #include "white-hawk-ethernet.dtsi" |
| 11 | |
| 12 | / { |
| 13 | can_transceiver0: can-phy0 { |
| 14 | compatible = "nxp,tjr1443"; |
| 15 | #phy-cells = <0>; |
| 16 | enable-gpios = <&gpio1 3 GPIO_ACTIVE_HIGH>; |
| 17 | max-bitrate = <5000000>; |
| 18 | }; |
| 19 | }; |
| 20 | |
| 21 | &can_clk { |
| 22 | clock-frequency = <40000000>; |
| 23 | }; |
| 24 | |
| 25 | &canfd { |
| 26 | pinctrl-0 = <&canfd0_pins>, <&canfd1_pins>, <&can_clk_pins>; |
| 27 | pinctrl-names = "default"; |
| 28 | |
| 29 | status = "okay"; |
| 30 | |
| 31 | channel0 { |
| 32 | status = "okay"; |
| 33 | phys = <&can_transceiver0>; |
| 34 | }; |
| 35 | |
| 36 | channel1 { |
| 37 | status = "okay"; |
| 38 | }; |
| 39 | }; |
| 40 | |
| 41 | &i2c0 { |
| 42 | eeprom@51 { |
| 43 | compatible = "rohm,br24g01", "atmel,24c01"; |
| 44 | label = "breakout-board"; |
| 45 | reg = <0x51>; |
| 46 | pagesize = <8>; |
| 47 | }; |
| 48 | }; |
| 49 | |
| 50 | &pfc { |
| 51 | can_clk_pins: can-clk { |
| 52 | groups = "can_clk"; |
| 53 | function = "can_clk"; |
| 54 | }; |
| 55 | |
| 56 | canfd0_pins: canfd0 { |
| 57 | groups = "canfd0_data"; |
| 58 | function = "canfd0"; |
| 59 | }; |
| 60 | |
| 61 | canfd1_pins: canfd1 { |
| 62 | groups = "canfd1_data"; |
| 63 | function = "canfd1"; |
| 64 | }; |
| 65 | }; |