/*
 * This header provides constants for bbw/bbb pinctrl bindings.
 *
 * Copyright (C) 2014 Robert Nelson <robertcnelson@gmail.com>
 *
 * Numbers Based on: https://github.com/derekmolloy/boneDeviceTree/tree/master/docs
 */

#ifndef _DT_BINDINGS_BOARD_AM335X_BBW_BBB_BASE_H
#define _DT_BINDINGS_BOARD_AM335X_BBW_BBB_BASE_H

#define BONE_P8_03 0x018
#define BONE_P8_04 0x01C

#define BONE_P8_05 0x008
#define BONE_P8_06 0x00C
#define BONE_P8_07 0x090
#define BONE_P8_08 0x094

#define BONE_P8_09 0x09C
#define BONE_P8_10 0x098
#define BONE_P8_11 0x034
#define BONE_P8_12 0x030

#define BONE_P8_13 0x024
#define BONE_P8_14 0x028
#define BONE_P8_15 0x03C
#define BONE_P8_16 0x038

#define BONE_P8_17 0x02C
#define BONE_P8_18 0x08C
#define BONE_P8_19 0x020
#define BONE_P8_20 0x084

#define BONE_P8_21 0x080
#define BONE_P8_22 0x014
#define BONE_P8_23 0x010
#define BONE_P8_24 0x004

#define BONE_P8_25 0x000
#define BONE_P8_26 0x07C
#define BONE_P8_27 0x0E0
#define BONE_P8_28 0x0E8

#define BONE_P8_29 0x0E4
#define BONE_P8_30 0x0EC
#define BONE_P8_31 0x0D8
#define BONE_P8_32 0x0DC

#define BONE_P8_33 0x0D4
#define BONE_P8_34 0x0CC
#define BONE_P8_35 0x0D0
#define BONE_P8_36 0x0C8

#define BONE_P8_37 0x0C0
#define BONE_P8_38 0x0C4
#define BONE_P8_39 0x0B8
#define BONE_P8_40 0x0BC

#define BONE_P8_41 0x0B0
#define BONE_P8_42 0x0B4
#define BONE_P8_43 0x0A8
#define BONE_P8_44 0x0AC

#define BONE_P8_45 0x0A0
#define BONE_P8_46 0x0A4

#define BONE_P9_11 0x070
#define BONE_P9_12 0x078

#define BONE_P9_13 0x074
#define BONE_P9_14 0x048
#define BONE_P9_15 0x040
#define BONE_P9_16 0x04C

#define BONE_P9_17 0x15C
#define BONE_P9_18 0x158
#define BONE_P9_19 0x17C
#define BONE_P9_20 0x178

#define BONE_P9_21 0x154
#define BONE_P9_22 0x150
#define BONE_P9_23 0x044
#define BONE_P9_24 0x184

#define BONE_P9_25 0x1AC
#define BONE_P9_26 0x180
#define BONE_P9_27 0x1A4
#define BONE_P9_28 0x19C

#define BONE_P9_29 0x194
#define BONE_P9_30 0x198
#define BONE_P9_31 0x190

/* Shared P21 of P11 */
#define BONE_P9_41A 0x1B4
#define BONE_P9_41B 0x1A8

/* Shared P22 of P11 */
#define BONE_P9_42A 0x164
#define BONE_P9_42B 0x1A0

#endif
