1f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0-only 2f126890aSEmmanuel Vadot/* 3f126890aSEmmanuel Vadot * Copyright (C) 2017 Texas Instruments Incorporated - https://www.ti.com/ 4f126890aSEmmanuel Vadot */ 5f126890aSEmmanuel Vadot 6f126890aSEmmanuel Vadot#include "dra74x.dtsi" 7f126890aSEmmanuel Vadot 8f126890aSEmmanuel Vadot/ { 9f126890aSEmmanuel Vadot compatible = "ti,dra762", "ti,dra7"; 10f126890aSEmmanuel Vadot 11f126890aSEmmanuel Vadot ocp { 12f126890aSEmmanuel Vadot target-module@42c01900 { 13f126890aSEmmanuel Vadot compatible = "ti,sysc-dra7-mcan", "ti,sysc"; 14f126890aSEmmanuel Vadot ranges = <0x0 0x42c00000 0x2000>; 15f126890aSEmmanuel Vadot #address-cells = <1>; 16f126890aSEmmanuel Vadot #size-cells = <1>; 17f126890aSEmmanuel Vadot reg = <0x42c01900 0x4>, 18f126890aSEmmanuel Vadot <0x42c01904 0x4>, 19f126890aSEmmanuel Vadot <0x42c01908 0x4>; 20f126890aSEmmanuel Vadot reg-names = "rev", "sysc", "syss"; 21f126890aSEmmanuel Vadot ti,sysc-mask = <(SYSC_OMAP4_SOFTRESET | 22f126890aSEmmanuel Vadot SYSC_DRA7_MCAN_ENAWAKEUP)>; 23f126890aSEmmanuel Vadot ti,syss-mask = <1>; 24f126890aSEmmanuel Vadot clocks = <&wkupaon_clkctrl DRA7_WKUPAON_ADC_CLKCTRL 0>; 25f126890aSEmmanuel Vadot clock-names = "fck"; 26f126890aSEmmanuel Vadot 27f126890aSEmmanuel Vadot m_can0: mcan@1a00 { 28f126890aSEmmanuel Vadot compatible = "bosch,m_can"; 29f126890aSEmmanuel Vadot reg = <0x1a00 0x4000>, <0x0 0x18FC>; 30f126890aSEmmanuel Vadot reg-names = "m_can", "message_ram"; 31f126890aSEmmanuel Vadot interrupt-parent = <&gic>; 32f126890aSEmmanuel Vadot interrupts = <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>, 33f126890aSEmmanuel Vadot <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>; 34f126890aSEmmanuel Vadot interrupt-names = "int0", "int1"; 35f126890aSEmmanuel Vadot clocks = <&l3_iclk_div>, <&mcan_clk>; 36f126890aSEmmanuel Vadot clock-names = "hclk", "cclk"; 37f126890aSEmmanuel Vadot bosch,mram-cfg = <0x0 0 0 32 0 0 1 1>; 38f126890aSEmmanuel Vadot }; 39f126890aSEmmanuel Vadot }; 40f126890aSEmmanuel Vadot }; 41f126890aSEmmanuel Vadot 42f126890aSEmmanuel Vadot}; 43f126890aSEmmanuel Vadot 44f126890aSEmmanuel Vadot&l4_per3 { 45f126890aSEmmanuel Vadot target-module@1b0000 { /* 0x489b0000, ap 25 34.0 */ 46f126890aSEmmanuel Vadot compatible = "ti,sysc-omap4", "ti,sysc"; 47f126890aSEmmanuel Vadot reg = <0x1b0000 0x4>, 48f126890aSEmmanuel Vadot <0x1b0010 0x4>; 49f126890aSEmmanuel Vadot reg-names = "rev", "sysc"; 50f126890aSEmmanuel Vadot ti,sysc-midle = <SYSC_IDLE_FORCE>, 51f126890aSEmmanuel Vadot <SYSC_IDLE_NO>; 52f126890aSEmmanuel Vadot ti,sysc-sidle = <SYSC_IDLE_FORCE>, 53f126890aSEmmanuel Vadot <SYSC_IDLE_NO>; 54f126890aSEmmanuel Vadot clocks = <&cam_clkctrl DRA7_CAM_VIP3_CLKCTRL 0>; 55f126890aSEmmanuel Vadot clock-names = "fck"; 56f126890aSEmmanuel Vadot #address-cells = <1>; 57f126890aSEmmanuel Vadot #size-cells = <1>; 58f126890aSEmmanuel Vadot ranges = <0x0 0x1b0000 0x10000>; 59f126890aSEmmanuel Vadot 60f126890aSEmmanuel Vadot cal: cal@0 { 61f126890aSEmmanuel Vadot compatible = "ti,dra76-cal"; 62f126890aSEmmanuel Vadot reg = <0x0000 0x400>, 63f126890aSEmmanuel Vadot <0x0800 0x40>, 64f126890aSEmmanuel Vadot <0x0900 0x40>; 65f126890aSEmmanuel Vadot reg-names = "cal_top", 66f126890aSEmmanuel Vadot "cal_rx_core0", 67f126890aSEmmanuel Vadot "cal_rx_core1"; 68f126890aSEmmanuel Vadot interrupts = <GIC_SPI 353 IRQ_TYPE_LEVEL_HIGH>; 69f126890aSEmmanuel Vadot ti,camerrx-control = <&scm_conf 0x6dc>; 70f126890aSEmmanuel Vadot 71f126890aSEmmanuel Vadot ports { 72f126890aSEmmanuel Vadot #address-cells = <1>; 73f126890aSEmmanuel Vadot #size-cells = <0>; 74f126890aSEmmanuel Vadot 75f126890aSEmmanuel Vadot csi2_0: port@0 { 76f126890aSEmmanuel Vadot reg = <0>; 77f126890aSEmmanuel Vadot }; 78f126890aSEmmanuel Vadot csi2_1: port@1 { 79f126890aSEmmanuel Vadot reg = <1>; 80f126890aSEmmanuel Vadot }; 81f126890aSEmmanuel Vadot }; 82f126890aSEmmanuel Vadot }; 83f126890aSEmmanuel Vadot }; 84f126890aSEmmanuel Vadot}; 85f126890aSEmmanuel Vadot 86f126890aSEmmanuel Vadot&scm_conf_clocks { 87*7d0873ebSEmmanuel Vadot /* CTRL_CORE_SMA_SW_0 */ 88*7d0873ebSEmmanuel Vadot clock@3fc { 89*7d0873ebSEmmanuel Vadot compatible = "ti,clksel"; 90*7d0873ebSEmmanuel Vadot reg = <0x3fc>; 91*7d0873ebSEmmanuel Vadot #clock-cells = <2>; 92*7d0873ebSEmmanuel Vadot #address-cells = <1>; 93*7d0873ebSEmmanuel Vadot #size-cells = <0>; 94*7d0873ebSEmmanuel Vadot 95*7d0873ebSEmmanuel Vadot dpll_gmac_h14x2_ctrl_ck: clock@20 { 96*7d0873ebSEmmanuel Vadot reg = <20>; 97*7d0873ebSEmmanuel Vadot clock-output-names = "dpll_gmac_h14x2_ctrl_ck"; 98f126890aSEmmanuel Vadot compatible = "ti,divider-clock"; 99f126890aSEmmanuel Vadot clocks = <&dpll_gmac_x2_ck>; 100f126890aSEmmanuel Vadot ti,max-div = <63>; 101f126890aSEmmanuel Vadot ti,latch-bit = <26>; 102f126890aSEmmanuel Vadot assigned-clocks = <&dpll_gmac_h14x2_ctrl_ck>; 103f126890aSEmmanuel Vadot assigned-clock-rates = <80000000>; 104*7d0873ebSEmmanuel Vadot #clock-cells = <0>; 105f126890aSEmmanuel Vadot }; 106f126890aSEmmanuel Vadot 107*7d0873ebSEmmanuel Vadot mcan_clk: clock@27 { 108*7d0873ebSEmmanuel Vadot reg = <27>; 109*7d0873ebSEmmanuel Vadot clock-output-names = "mcan_clk"; 110*7d0873ebSEmmanuel Vadot compatible = "ti,gate-clock"; 111*7d0873ebSEmmanuel Vadot clocks = <&dpll_gmac_h14x2_ctrl_mux_ck>; 112f126890aSEmmanuel Vadot #clock-cells = <0>; 113*7d0873ebSEmmanuel Vadot }; 114*7d0873ebSEmmanuel Vadot 115*7d0873ebSEmmanuel Vadot dpll_gmac_h14x2_ctrl_mux_ck: clock@29 { 116*7d0873ebSEmmanuel Vadot reg = <29>; 117*7d0873ebSEmmanuel Vadot clock-output-names = "dpll_gmac_h14x2_ctrl_mux_ck"; 118f126890aSEmmanuel Vadot compatible = "ti,mux-clock"; 119f126890aSEmmanuel Vadot clocks = <&dpll_gmac_ck>, <&dpll_gmac_h14x2_ctrl_ck>; 120f126890aSEmmanuel Vadot ti,latch-bit = <26>; 121f126890aSEmmanuel Vadot assigned-clocks = <&dpll_gmac_h14x2_ctrl_mux_ck>; 122f126890aSEmmanuel Vadot assigned-clock-parents = <&dpll_gmac_h14x2_ctrl_ck>; 123f126890aSEmmanuel Vadot #clock-cells = <0>; 124*7d0873ebSEmmanuel Vadot }; 125f126890aSEmmanuel Vadot }; 126f126890aSEmmanuel Vadot}; 127f126890aSEmmanuel Vadot 128f126890aSEmmanuel Vadot&rtctarget { 129f126890aSEmmanuel Vadot status = "disabled"; 130f126890aSEmmanuel Vadot}; 131f126890aSEmmanuel Vadot 132f126890aSEmmanuel Vadot&usb4_tm { 133f126890aSEmmanuel Vadot status = "disabled"; 134f126890aSEmmanuel Vadot}; 135f126890aSEmmanuel Vadot 136f126890aSEmmanuel Vadot&mmc3 { 137f126890aSEmmanuel Vadot /* dra76x is not affected by i887 */ 138f126890aSEmmanuel Vadot max-frequency = <96000000>; 139f126890aSEmmanuel Vadot}; 140f126890aSEmmanuel Vadot 141f126890aSEmmanuel Vadot&cpu0_opp_table { 142aa1a8ff2SEmmanuel Vadot opp-1800000000 { 143aa1a8ff2SEmmanuel Vadot /* OPP Plus */ 144f126890aSEmmanuel Vadot opp-hz = /bits/ 64 <1800000000>; 145f126890aSEmmanuel Vadot opp-microvolt = <1250000 950000 1250000>, 146f126890aSEmmanuel Vadot <1250000 950000 1250000>; 147f126890aSEmmanuel Vadot opp-supported-hw = <0xFF 0x08>; 148f126890aSEmmanuel Vadot }; 149f126890aSEmmanuel Vadot}; 150f126890aSEmmanuel Vadot 151f126890aSEmmanuel Vadot&opp_supply_mpu { 152f126890aSEmmanuel Vadot ti,efuse-settings = < 153f126890aSEmmanuel Vadot /* uV offset */ 154f126890aSEmmanuel Vadot 1060000 0x0 155f126890aSEmmanuel Vadot 1160000 0x4 156f126890aSEmmanuel Vadot 1210000 0x8 157f126890aSEmmanuel Vadot 1250000 0xC 158f126890aSEmmanuel Vadot >; 159f126890aSEmmanuel Vadot}; 160f126890aSEmmanuel Vadot 161f126890aSEmmanuel Vadot&abb_mpu { 162f126890aSEmmanuel Vadot ti,abb_info = < 163f126890aSEmmanuel Vadot /*uV ABB efuse rbb_m fbb_m vset_m*/ 164f126890aSEmmanuel Vadot 1060000 0 0x0 0 0x02000000 0x01F00000 165f126890aSEmmanuel Vadot 1160000 0 0x4 0 0x02000000 0x01F00000 166f126890aSEmmanuel Vadot 1210000 0 0x8 0 0x02000000 0x01F00000 167f126890aSEmmanuel Vadot 1250000 0 0xC 0 0x02000000 0x01F00000 168f126890aSEmmanuel Vadot >; 169f126890aSEmmanuel Vadot}; 170