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