1// SPDX-License-Identifier: GPL-2.0
2/*
3 * Copyright (C) 2023 Texas Instruments Incorporated - https://www.ti.com/
4 */
5
6/dts-v1/;
7
8#include "k3-j721s2.dtsi"
9#include <dt-bindings/gpio/gpio.h>
10
11/ {
12	memory@80000000 {
13		device_type = "memory";
14		/* 16 GB RAM */
15		reg = <0x00 0x80000000 0x00 0x80000000>,
16		      <0x08 0x80000000 0x03 0x80000000>;
17	};
18
19	reserved_memory: reserved-memory {
20		#address-cells = <2>;
21		#size-cells = <2>;
22		ranges;
23
24		secure_ddr: optee@9e800000 {
25			reg = <0x00 0x9e800000 0x00 0x01800000>;
26			no-map;
27		};
28	};
29};
30
31&wkup_pmx2 {
32	wkup_i2c0_pins_default: wkup-i2c0-default-pins {
33		pinctrl-single,pins = <
34			J721S2_WKUP_IOPAD(0x098, PIN_INPUT, 0) /* (H24) WKUP_I2C0_SCL */
35			J721S2_WKUP_IOPAD(0x09c, PIN_INPUT, 0) /* (H27) WKUP_I2C0_SDA */
36		>;
37	};
38};
39
40&wkup_i2c0 {
41	status = "okay";
42	pinctrl-names = "default";
43	pinctrl-0 = <&wkup_i2c0_pins_default>;
44	clock-frequency = <400000>;
45
46	eeprom@51 {
47		/* AT24C512C-MAHM-T */
48		compatible = "atmel,24c512";
49		reg = <0x51>;
50	};
51};
52