Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0
0002 /*
0003  * Copyright (C) 2012 Texas Instruments Incorporated - https://www.ti.com/
0004  *
0005  * Author: Robert Nelson <robertcnelson@gmail.com>
0006  */
0007 
0008 / {
0009         cpus {
0010                 cpu@0 {
0011                         cpu0-supply = <&dcdc2_reg>;
0012                 };
0013         };
0014 
0015         memory@80000000 {
0016                 device_type = "memory";
0017                 reg = <0x80000000 0x20000000>; /* 512 MB */
0018         };
0019 };
0020 
0021 &cpu0_opp_table {
0022         /*
0023         * Octavo Systems:
0024         * The EFUSE_SMA register is not programmed for any of the AM335x wafers
0025         * we get and we are not programming them during our production test.
0026         * Therefore, from a DEVICE_ID revision point of view, the silicon looks
0027         * like it is Revision 2.1.  However, from an EFUSE_SMA point of view for
0028         * the HW OPP table, the silicon looks like it is Revision 1.0 (ie the
0029         * EFUSE_SMA register reads as all zeros).
0030         */
0031         oppnitro-1000000000 {
0032                 opp-supported-hw = <0x06 0x0100>;
0033         };
0034 };
0035 
0036 &am33xx_pinmux {
0037         i2c0_pins: pinmux-i2c0-pins {
0038                 pinctrl-single,pins = <
0039                         AM33XX_PADCONF(AM335X_PIN_I2C0_SDA, PIN_INPUT_PULLUP, MUX_MODE0)
0040                         AM33XX_PADCONF(AM335X_PIN_I2C0_SCL, PIN_INPUT_PULLUP, MUX_MODE0)
0041                 >;
0042         };
0043 };
0044 
0045 &i2c0 {
0046         pinctrl-names = "default";
0047         pinctrl-0 = <&i2c0_pins>;
0048 
0049         status = "okay";
0050         clock-frequency = <400000>;
0051 
0052         tps: tps@24 {
0053                 reg = <0x24>;
0054         };
0055 };
0056 
0057 /include/ "tps65217.dtsi"
0058 
0059 &tps {
0060         interrupts = <7>; /* NMI */
0061         interrupt-parent = <&intc>;
0062 
0063         ti,pmic-shutdown-controller;
0064 
0065         pwrbutton {
0066                 interrupts = <2>;
0067                 status = "okay";
0068         };
0069 
0070         regulators {
0071                 dcdc1_reg: regulator@0 {
0072                         regulator-name = "vdds_dpr";
0073                         regulator-always-on;
0074                 };
0075 
0076                 dcdc2_reg: regulator@1 {
0077                         /* VDD_MPU voltage limits 0.95V - 1.26V with +/-4% tolerance */
0078                         regulator-name = "vdd_mpu";
0079                         regulator-min-microvolt = <925000>;
0080                         regulator-max-microvolt = <1351500>;
0081                         regulator-boot-on;
0082                         regulator-always-on;
0083                 };
0084 
0085                 dcdc3_reg: regulator@2 {
0086                         /* VDD_CORE voltage limits 0.95V - 1.1V with +/-4% tolerance */
0087                         regulator-name = "vdd_core";
0088                         regulator-min-microvolt = <925000>;
0089                         regulator-max-microvolt = <1150000>;
0090                         regulator-boot-on;
0091                         regulator-always-on;
0092                 };
0093 
0094                 ldo1_reg: regulator@3 {
0095                         regulator-name = "vio,vrtc,vdds";
0096                         regulator-always-on;
0097                 };
0098 
0099                 ldo2_reg: regulator@4 {
0100                         regulator-name = "vdd_3v3aux";
0101                         regulator-always-on;
0102                 };
0103 
0104                 ldo3_reg: regulator@5 {
0105                         regulator-name = "vdd_1v8";
0106                         regulator-min-microvolt = <1800000>;
0107                         regulator-max-microvolt = <1800000>;
0108                         regulator-always-on;
0109                 };
0110 
0111                 ldo4_reg: regulator@6 {
0112                         regulator-name = "vdd_3v3a";
0113                         regulator-always-on;
0114                 };
0115         };
0116 };
0117 
0118 &aes {
0119         status = "okay";
0120 };
0121 
0122 &sham {
0123         status = "okay";
0124 };